[Openmp-commits] [clang] [openmp] [OpenMP] Respect LLVM per-target install directories (PR #83282)
Ye Luo via Openmp-commits
openmp-commits at lists.llvm.org
Tue Mar 5 13:45:40 PST 2024
ye-luo wrote:
> > @jdoerfert I would like to see the device code compilation (on device runtime) and host runtime compilation fully separate. Then I can build the runtime with gcc or sanitizer without disturbing device code compilation.
>
> Could you elaborate on this? One of my long-term goals is to build the OpenMP device runtime similarly to how I build the GPU C library. That is, we have a `runtimes` build that simply does `--target=amdgcn-amd-amdhsa` on C/C++ source using standard `clang`. We could maybe split this out into a separate runtime and declare the offloading runtime on the CPU to be a project instead?
I need a clean way to add `-fsantize=address` to the libomptarget host runtime and plugins without disturbing the device compilation. So if you move all the device compilation to a separate runtime, it also achieve my goal I guess.
https://github.com/llvm/llvm-project/pull/83282
More information about the Openmp-commits
mailing list