Merge pull request #1156 from yxsamliu/fix-vdi

Fix default HIP_VDI_HOME
Αυτή η υποβολή περιλαμβάνεται σε:
Maneesh Gupta
2019-06-04 13:21:48 +05:30
υποβλήθηκε από GitHub
γονέας 40a09318e4 154765df88
υποβολή 48e657b099
+1 -1
Προβολή Αρχείου
@@ -108,7 +108,7 @@ $HIP_RUNTIME= $hipConfig{'HIP_RUNTIME'};
# If using VDI runtime, need to find HIP_VDI_HOME
if ($HIP_RUNTIME eq "VDI" and !defined $HIP_VDI_HOME) {
my $hipcc_dir = dirname($0);
if (-e "$hipcc_dir/.hipVersion") {
if (-e "$hipcc_dir/../lib/bitcode") {
$HIP_VDI_HOME = abs_path($hipcc_dir . "/..");
} else {
$HIP_VDI_HOME = "/opt/rocm/hip";