[Openmp-commits] [clang] [llvm] [openmp] [Libomptarget] Statically link all plugin runtimes (PR #87009)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 29 15:35:51 PDT 2024


================
@@ -3043,10 +3043,6 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
     // HSA functions from now on, e.g., hsa_shut_down.
     Initialized = true;
 
-#ifdef OMPT_SUPPORT
-    ompt::connectLibrary();
----------------
jhuber6 wrote:

Ah, well that can be a follow-up patch since it seems to work here. Would be nice to get all of this OMPT stuff out of the plugins, which this should also help since we have actual `init` and `deinit` calls from `libomptarget` now.

https://github.com/llvm/llvm-project/pull/87009


More information about the Openmp-commits mailing list