[clang] [llvm] [Libomptarget] Statically link all plugin runtimes (PR #87009)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed May 1 08:32:13 PDT 2024
================
@@ -3476,3 +3472,9 @@ void *AMDGPUDeviceTy::allocate(size_t Size, void *, TargetAllocTy Kind) {
} // namespace target
} // namespace omp
} // namespace llvm
+
+extern "C" {
+llvm::omp::target::plugin::GenericPluginTy *createPlugin_amdgpu() {
----------------
jhuber6 wrote:
I tried that, but couldn't figure out how to set a name from a macro within a macro.
https://github.com/llvm/llvm-project/pull/87009
More information about the cfe-commits
mailing list