hip: don't set HIP_PATH in ROCm 5.5+ (#42882)
This commit is contained in:
parent
9ab3c1332b
commit
0abf5ba43c
@ -415,7 +415,9 @@ def set_variables(self, env):
|
|||||||
env.set("HIP_DEVICE_LIB_PATH", paths["bitcode"])
|
env.set("HIP_DEVICE_LIB_PATH", paths["bitcode"])
|
||||||
|
|
||||||
# Just the prefix of hip (used in hipcc)
|
# Just the prefix of hip (used in hipcc)
|
||||||
env.set("HIP_PATH", paths["hip-path"])
|
# Deprecated in 5.1.0 and breaks hipcc in 5.5.1+
|
||||||
|
if self.spec.satisfies("@:5.4"):
|
||||||
|
env.set("HIP_PATH", paths["hip-path"])
|
||||||
|
|
||||||
# Used in comgr and seems necessary when using the JIT compiler, e.g.
|
# Used in comgr and seems necessary when using the JIT compiler, e.g.
|
||||||
# hiprtcCreateProgram:
|
# hiprtcCreateProgram:
|
||||||
|
Loading…
Reference in New Issue
Block a user