From e1cf81a9923d79144f43b3d948cf0bbce3dfd326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nagy-Egri=20M=C3=A1t=C3=A9=20Ferenc?= Date: Thu, 19 Aug 2021 06:57:06 +0200 Subject: [PATCH] Fix nvcc hipconfig (#2307) hipconfig tries printing the version of nvcc assumed to be on the PATH, not the one that actually gets picked up. [ROCm/hip commit: 2cdf39edfd85d56972e254a6fe87623e1f344ef4] --- projects/hip/bin/hipconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/bin/hipconfig b/projects/hip/bin/hipconfig index b1b699446f..e1b4ab5382 100755 --- a/projects/hip/bin/hipconfig +++ b/projects/hip/bin/hipconfig @@ -192,8 +192,8 @@ if (!$printed or $p_full) { if ($HIP_PLATFORM eq "nvidia") { print "\n" ; print "== nvcc\n"; - #print "CUDA_PATH :", $CUDA_PATH"; - system("nvcc --version"); + print "CUDA_PATH : ", $CUDA_PATH, "\n"; + system("$CUDA_PATH/bin/nvcc --version"); } print "\n" ;