[all-commits] [llvm/llvm-project] 2b234c: [OpenMP] [OMPT] [3/8] Implemented callback registr...
dhruvachak via All-commits
all-commits at lists.llvm.org
Thu Dec 1 16:06:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b234ce3f07caea605df730ca0b33f22c419582f
https://github.com/llvm/llvm-project/commit/2b234ce3f07caea605df730ca0b33f22c419582f
Author: Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
A openmp/libomptarget/include/ompt_device_callbacks.h
M openmp/libomptarget/src/ompt_callback.cpp
Log Message:
-----------
[OpenMP] [OMPT] [3/8] Implemented callback registration in libomptarget
The purpose of this patch is to have tool-provided callbacks registered
in libomptarget. The overall design document is in
https://rice.app.box.com/s/pf3gix2hs4d4o1aatwir1set05xmjljc
Defined a class OmptDeviceCallbacksTy 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 that is
used to retrieve the callbacks and register them in libomptarget.
Patch from John Mellor-Crummey <johnmc at rice.edu>
(With contributions from Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>)
Reviewed By: jplehr
Differential Revision: https://reviews.llvm.org/D123974
More information about the All-commits
mailing list