[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 16 14:19:25 PDT 2021


lechenyu updated this revision to Diff 338233.
lechenyu added a comment.

  Update ompt initialization in libomptarget:
      1. Change the initialization function name to "libomp_start_tool"
      2. Libomptarget uses weak symbol rather than libdl to retrieve
         libomp_start_tool
      3. Libomp_start_tool only sets the bitmap, since libomptarget will
         delegate the callback invocation to libomp. Libomptarget no
         longer needs the addresses of OMPT callbacks and entry points


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99803

Files:
  openmp/libomptarget/CMakeLists.txt
  openmp/libomptarget/src/CMakeLists.txt
  openmp/libomptarget/src/interface.cpp
  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/exports_so.txt
  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.338233.patch
Type: text/x-patch
Size: 32091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210416/468ca2a1/attachment-0001.bin>


More information about the Openmp-commits mailing list