[Openmp-commits] [PATCH] D127365: [OMPT] Added callback support for target data operations, target submit, and target regions.
Dhruva Chakrabarti via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jun 8 17:21:39 PDT 2022
dhruvachak created this revision.
dhruvachak added reviewers: jdoerfert, JonChesterfield, jmellorcrummey, ronlieb, protze.joachim, hbae, dreachem, RaviNarayanaswamy, AndreyChurbanov, jlpeyton.
Herald added a project: All.
dhruvachak requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
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 <https://reviews.llvm.org/D124652>
Patch from John Mellor-Crummey <johnmc at rice.edu>
(With contributions from Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127365
Files:
openmp/libomptarget/include/ompt_device_callbacks.h
openmp/libomptarget/src/ompt_callback.cpp
openmp/libomptarget/src/ompt_callback.h
openmp/runtime/src/ompt-general.cpp
openmp/runtime/src/ompt-internal.h
openmp/runtime/src/ompt-specific.cpp
openmp/runtime/src/ompt-specific.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127365.435394.patch
Type: text/x-patch
Size: 29508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220609/576c3a15/attachment-0001.bin>
More information about the Openmp-commits
mailing list