[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:45 PST 2023
================
@@ -48,9 +48,12 @@
namespace llvm {
namespace omp {
namespace target {
-
namespace plugin {
+/// The plugin's native ELF architecture. This should be defined individually
+/// by each plugin, and ELF:EM_NONE if the ELF target is not applicable.
+extern const uint16_t ELFMachine;
----------------
jplehr wrote:
Do we have some chance to check if plugins actually define that?
https://github.com/llvm/llvm-project/pull/76174
More information about the Openmp-commits
mailing list