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

Reply via email to