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.
This commit is contained in:
Nagy-Egri Máté Ferenc
2021-08-19 06:57:06 +02:00
committed by GitHub
parent b248df8653
commit 2cdf39edfd
+2 -2
View File
@@ -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" ;