[Openmp-commits] [PATCH] D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed May 3 07:21:45 PDT 2023


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt:85
   MemoryManager
+  OMPT
   PluginInterface
----------------
A better practice is to link `OMPT` if it is enabled.
```
if (OMPT_ENABLED)
  target_link_libraries(omptarget.rtl.amdgpu.nextgen PRIVATE OMPT)
endif()
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124070/new/

https://reviews.llvm.org/D124070



More information about the Openmp-commits mailing list