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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to