[clang] [clang-repl] Added -hip option (PR #231783)
Aditya Sinha via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 26 23:35:09 PST 2026
AdityaSinha149 wrote:
Thanks @shiltian. The error was because clang-repl loaded `libamdhip64.so` by name, so it could pick up `/opt/rocm`'s runtime and comgr, which export their LLVM symbols, even when clang was compiling against TheRock. That mismatch caused the crash. With this patch : #246462 , clang-repl finds the HIP runtime the same way the clang driver does. So it now it loads the runtime from the same ROCm install that clang uses, and the clash goes away.
https://github.com/llvm/llvm-project/pull/231783
More information about the cfe-commits
mailing list