[all-commits] [llvm/llvm-project] 00ccfc: [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbac...

Michael Halkenhäuser via All-commits all-commits at lists.llvm.org
Mon Jul 24 17:22:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00ccfcf9a6ee61c56cbe01d1e01b074797465fa4
      https://github.com/llvm/llvm-project/commit/00ccfcf9a6ee61c56cbe01d1e01b074797465fa4
  Author: Michael Halkenhaeuser <MichaelGerald.Halkenhauser at amd.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M openmp/libomptarget/include/OmptCallback.h
    M openmp/libomptarget/src/OmptCallback.cpp
    M openmp/libomptarget/src/OmptInterface.h
    M openmp/libomptarget/src/device.cpp
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/omptarget.cpp
    M openmp/libomptarget/test/ompt/veccopy.c
    M openmp/libomptarget/test/ompt/veccopy_disallow_both.c
    M openmp/libomptarget/test/ompt/veccopy_emi.c
    M openmp/libomptarget/test/ompt/veccopy_emi_map.c
    M openmp/libomptarget/test/ompt/veccopy_map.c
    M openmp/libomptarget/test/ompt/veccopy_no_device_init.c
    M openmp/libomptarget/test/ompt/veccopy_wrong_return.c
    M openmp/runtime/src/ompt-event-specific.h

  Log Message:
  -----------
  [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbacks before and after target launch and data transfer operations

Implemented RAII objects, initialized at target entry points, that
invoke tool-supplied callbacks. Updated status of target callbacks as
implemented.

Depends on D127365

Patch from John Mellor-Crummey <johnmc at rice.edu>
With contributions from:
Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>
Jan-Patrick Lehr <janpatrick.lehr at amd.com>

Reviewed By: jdoerfert, dhruvachak

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




More information about the All-commits mailing list