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:
zatwierdzone przez
GitHub
rodzic
a9ff89b3ec
commit
e1cf81a992
@@ -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