[all-commits] [llvm/llvm-project] 3bc8ce: [openmp] Add OMPT initialization in libomptarget

lechenyu via All-commits all-commits at lists.llvm.org
Wed Aug 4 09:00:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bc8ce5dd718beef0031bf4b070ac4026e6910d7
      https://github.com/llvm/llvm-project/commit/3bc8ce5dd718beef0031bf4b070ac4026e6910d7
  Author: Lechen Yu <lechenyu21 at gmail.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

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

  Log Message:
  -----------
  [openmp] Add OMPT initialization in libomptarget

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

Differential Revision: https://reviews.llvm.org/D99803




More information about the All-commits mailing list