[all-commits] [llvm/llvm-project] 453a75: [OpenMP] [OMPT] [6/8] Added callback support for t...
Michael Halkenhäuser via All-commits
all-commits at lists.llvm.org
Fri Jul 21 03:25:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 453a75dc52e73a664505ebb196c93ff952754909
https://github.com/llvm/llvm-project/commit/453a75dc52e73a664505ebb196c93ff952754909
Author: Michael Halkenhaeuser <MichaelGerald.Halkenhauser at amd.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M openmp/libomptarget/include/OmptCallback.h
M openmp/libomptarget/src/OmptCallback.cpp
A openmp/libomptarget/src/OmptInterface.h
M openmp/runtime/src/ompt-general.cpp
M openmp/runtime/src/ompt-internal.h
M openmp/runtime/src/ompt-specific.cpp
M openmp/runtime/src/ompt-specific.h
Log Message:
-----------
[OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions.
This patch adds support for invoking target callbacks but does not yet
invoke them. A new structure OmptInterface has been added that tracks
thread local states including correlation ids. This structure defines
methods that will be called from the device independent target library
with information related to a target entry point for which a callback
is invoked. These methods in turn use the callback functions maintained
by OmptDeviceCallbacksTy to invoke the tool supplied callbacks.
Depends on D124652
Patch from John Mellor-Crummey <johnmc at rice.edu>
With contributions from:
Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>
Differential Revision: https://reviews.llvm.org/D127365
More information about the All-commits
mailing list