[llvm] [offload][omp] Move reading _kernel_environment to libomptarget (PR #222606)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 05:36:38 PDT 2026
================
@@ -44,6 +47,8 @@ void PluginManager::init() {
do { \
Plugins.emplace_back( \
std::unique_ptr<GenericPluginTy>(createPlugin_##Name())); \
+ if (strcmp(#Name, "host") == 0) \
+ HostPlugin = Plugins.back().get(); \
----------------
jhuber6 wrote:
Why do we need the host plugin right now? That's mostly an artifact of the offload API which I don't think we're using just yet.
https://github.com/llvm/llvm-project/pull/222606
More information about the llvm-commits
mailing list