[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:00:25 PST 2024
================
@@ -133,6 +133,11 @@ Error getAMDGPUMetaDataFromImage(MemoryBufferRef MemBuffer,
StringMap<AMDGPUKernelMetaData> &KernelInfoMap,
uint16_t &ELFABIVersion);
} // namespace amdgpu
+namespace intel {
+/// Containerizes an offloading image into the ELF binary format expected by
+/// the Intel runtime offload plugin.
+void containerizeOpenMPSPIRVImage(object::OffloadBinary::OffloadingImage &Img);
----------------
jhuber6 wrote:
This should probably be a separate patch with a unit test.
https://github.com/llvm/llvm-project/pull/120145
More information about the llvm-commits
mailing list