From 71e8898554d937fcc52d285d5cc371e9283df2a7 Mon Sep 17 00:00:00 2001 From: ocaisa Date: Fri, 27 Sep 2024 15:44:58 +0200 Subject: [PATCH] Update link_nvidia_host_libraries.sh --- scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh b/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh index 4e7343d351..c18e655110 100755 --- a/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh +++ b/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh @@ -197,9 +197,8 @@ for library in "${cuda_candidate_libraries[@]}"; do fi done -# Output the matched libraries -echo "Matched CUDA Libraries:" -printf "%s\n" "${matched_libraries[@]}" +# Output the number of matched libraries +echo "Matched ${#matched_libraries[@]} CUDA Libraries" # LD_PRELOAD Mode if [ "$LD_PRELOAD_MODE" -eq 1 ]; then