Open zhanglx13 opened 3 months ago
Can we rename as TRITON_LLVM_FLAG
? basically, I think it would be better env var for triton have prefix TRITON_
.
Can we rename as
TRITON_LLVM_FLAG
? basically, I think it would be better env var for triton have prefixTRITON_
.
Thanks. Another question, can we use multiple flags together? if true, what is the format for that?
Can we rename as
TRITON_LLVM_FLAG
? basically, I think it would be better env var for triton have prefixTRITON_
.Thanks. Another question, can we use multiple flags together? if true, what is the format for that?
I think so, the value processed as a string. You can do something like TRITON_LLVM_FLAG="--flag1 --flag2"
This PR allows us to set llvm backend flags, e.g. -mllvm --print-after-all, using an env var
TRITON_LLVM_FLAG
.Example usage:
Don't forget to unset the flag if you don't need it anymore by
export TRITON_LLVM_FLAG=