================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to