[Openmp-commits] [openmp] [Libomptarget] Only initialize a plugin if a device image needs it (PR #76174)

Jan Patrick Lehr via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 21 13:02:44 PST 2023

@@ -56,6 +56,8 @@
 #include "hsa/hsa_ext_amd.h"
+extern const uint16_t llvm::omp::target::plugin::ELFMachine = ELF::EM_AMDGPU;
jplehr wrote:

probably a dumb question: This is `extern` everywhere, shouldn't it be not-extern in one place?


More information about the Openmp-commits mailing list