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:
committed by
GitHub
parent
a9ff89b3ec
commit
e1cf81a992
@@ -192,8 +192,8 @@ if (!$printed or $p_full) {
|
|||||||
if ($HIP_PLATFORM eq "nvidia") {
|
if ($HIP_PLATFORM eq "nvidia") {
|
||||||
print "\n" ;
|
print "\n" ;
|
||||||
print "== nvcc\n";
|
print "== nvcc\n";
|
||||||
#print "CUDA_PATH :", $CUDA_PATH";
|
print "CUDA_PATH : ", $CUDA_PATH, "\n";
|
||||||
system("nvcc --version");
|
system("$CUDA_PATH/bin/nvcc --version");
|
||||||
|
|
||||||
}
|
}
|
||||||
print "\n" ;
|
print "\n" ;
|
||||||
|
|||||||
Reference in New Issue
Block a user