[clang] [llvm] [Driver][clang-linker-wrapper] Add initial support for OpenMP offloading to generic SPIR-V (PR #120145)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 07:22:43 PST 2024
================
@@ -2829,10 +2829,13 @@ void tools::addOpenMPDeviceRTL(const Driver &D,
LibraryPaths.emplace_back(LibPath);
OptSpecifier LibomptargetBCPathOpt =
- Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ
- : options::OPT_libomptarget_nvptx_bc_path_EQ;
+ Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ
----------------
jhuber6 wrote:
Is there a patch for the DeviceRTL build? I've been meaning to gut a lot of that starting with https://github.com/llvm/llvm-project/pull/119091 and soon removing the whole bundling thing so it's more like `libc.a`. ideally we'd have `lib/spirv64-intel-unknown/libomp.a` and the driver just passes `-Xoffload-linker -lomp`.
https://github.com/llvm/llvm-project/pull/120145
More information about the llvm-commits
mailing list