Skip to content

Commit a40db81

Browse files
committed
SWDEV-326661 - devicelib path fix
1 parent c9ae736 commit a40db81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amd/hipcc/src/hipBin_amd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ string HipBinAmd::getDeviceLibPath() const {
365365
fs::path bitCodePath = rocclrHomePath;
366366
bitCodePath /= "lib/bitcode";
367367
string deviceLibPath = var.deviceLibPathEnv_;
368-
if (var.deviceLibPathEnv_.empty() && fs::exists(bitCodePath)) {
368+
if (deviceLibPath.empty() && fs::exists(bitCodePath)) {
369369
deviceLibPath = bitCodePath.string();
370370
}
371371

0 commit comments

Comments
 (0)