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: 2cdf39edfd]
This commit is contained in:
Nagy-Egri Máté Ferenc
2021-08-19 06:57:06 +02:00
zatwierdzone przez GitHub
rodzic a9ff89b3ec
commit e1cf81a992
+2 -2
Wyświetl plik
@@ -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" ;