[Openmp-commits] [PATCH] D99803: [openmp] Add OMPT initialization in libomptarget

Lechen Yu via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Apr 2 10:08:31 PDT 2021


lechenyu created this revision.
lechenyu added reviewers: jdoerfert, hbae, protze.joachim.
lechenyu added a project: OpenMP.
Herald added subscribers: guansong, yaxunl, mgorny.
lechenyu requested review of this revision.
Herald added a subscriber: sstefan1.

When loading libomptarget, the init function in libomptarget/src/rtl.cpp
will search for the libomptarget_start_tool function using libdl.
libomptarget_start_tool will pass those OMPT callbacks related to target
constructs to libomptarget


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99803

Files:
  openmp/libomptarget/CMakeLists.txt
  openmp/libomptarget/src/CMakeLists.txt
  openmp/libomptarget/src/ompt-target.cpp
  openmp/libomptarget/src/ompt-target.h
  openmp/libomptarget/src/rtl.cpp
  openmp/runtime/cmake/config-ix.cmake
  openmp/runtime/src/include/omp-tools.h.var
  openmp/runtime/src/ompt-event-specific.h
  openmp/runtime/src/ompt-general.cpp
  openmp/runtime/src/ompt-internal.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99803.334982.patch
Type: text/x-patch
Size: 24515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210402/9cc4b65f/attachment-0001.bin>


More information about the Openmp-commits mailing list