Replace hard coded ROCM paths with ROCM_PATH env var.

This commit is contained in:
Rohit Santhanam
2023-03-06 01:00:22 +00:00
parent f9bd9908a1
commit dadc09623b
5 changed files with 9 additions and 16 deletions

View File

@@ -1,3 +1,3 @@
shopt -s extglob
/opt/rocm/llvm/bin/llc -mcpu=gfx908 triton_rocm_kernels/*+([0-9]).ll
# /opt/rocm/llvm/bin/llc -mcpu=gfx908 triton_rocm_kernels/*_before_verify.ll
${ROCM_PATH}/llvm/bin/llc -mcpu=gfx908 triton_rocm_kernels/*+([0-9]).ll
# ${ROCM_PATH}/llvm/bin/llc -mcpu=gfx908 triton_rocm_kernels/*_before_verify.ll

View File

@@ -1 +1 @@
/opt/rocm/llvm/bin/ld.lld -flavor gnu -shared _empty.o -o _empty.hsaco
${ROCM_PATH}/llvm/bin/ld.lld -flavor gnu -shared _empty.o -o _empty.hsaco