Skip to content

Commit

Permalink
Merge pull request #283 from ROCmSoftwarePlatform/default_path_fix_tr…
Browse files Browse the repository at this point in the history
…iton_wheel

Fix default rocm lib path
  • Loading branch information
jataylo authored Aug 4, 2023
2 parents 9dc100a + b7b4b9b commit 34887ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/triton/common/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def libcuda_dirs():

@functools.lru_cache()
def rocm_path_dir():
default_path = os.path.join(os.path.dirname(__file__), "third_party", "rocm")
default_path = os.path.join(os.path.dirname(__file__), "..", "third_party", "rocm")
# Check if include files have been populated locally. If so, then we are
# most likely in a whl installation and he rest of our libraries should be here
if (os.path.exists(default_path+"/include/hip/hip_runtime.h")):
Expand Down

0 comments on commit 34887ff

Please sign in to comment.