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:
committed by
GitHub
parent
b248df8653
commit
2cdf39edfd
+2
-2
@@ -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" ;
|
||||
|
||||
Reference in New Issue
Block a user