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

via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 29 14:38:49 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();
----------------
dhruvachak wrote:

There is a connectLibrary definition in libomptarget and another in the common plugin. Since the call is now removed from the plugins, the definition in the plugin should also go away. It seems like the entire OmptCallback.cpp can be removed. Don't know whether something breaks then.

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


More information about the Openmp-commits mailing list