[Openmp-commits] [PATCH] D123974: [OpenMP] [OMPT] Implemented callback registration in libomptarget

Dhruva Chakrabarti via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Apr 18 19:24:12 PDT 2022


dhruvachak created this revision.
dhruvachak added reviewers: jdoerfert, JonChesterfield, jmellorcrummey, ronlieb, protze.joachim, hbae, dreachem, RaviNarayanaswamy, AndreyChurbanov, jlpeyton.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
dhruvachak requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

Defined a class that will be used by libomptarget and a plugin for
callbacks registered by a tool. Once the callbacks are registered
in libomp, a lookup function is passed to libomptarget which is
used to retrieve the callbacks and register them in libomptarget.

Depends on D123572 <https://reviews.llvm.org/D123572>

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/D123974

Files:
  openmp/libomptarget/include/ompt_device_callbacks.h
  openmp/libomptarget/src/ompt_callback.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123974.423506.patch
Type: text/x-patch
Size: 4080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220419/f08a51f5/attachment.bin>


More information about the Openmp-commits mailing list