diff options
author | Dhruva Chakrabarti <Dhruva.Chakrabarti@amd.com> | 2022-12-01 11:06:58 -0800 |
---|---|---|
committer | Dhruva Chakrabarti <Dhruva.Chakrabarti@amd.com> | 2022-12-01 16:06:26 -0800 |
commit | 2b234ce3f07caea605df730ca0b33f22c419582f (patch) | |
tree | d9b8e917fe22729e90e7c98b316ad016a1975ec7 /clang/unittests/Format/FormatTestComments.cpp | |
parent | f291667d61b66c82f123f6dd0d7a406633db1000 (diff) | |
download | llvm-2b234ce3f07caea605df730ca0b33f22c419582f.zip llvm-2b234ce3f07caea605df730ca0b33f22c419582f.tar.gz llvm-2b234ce3f07caea605df730ca0b33f22c419582f.tar.bz2 |
[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@rice.edu>
(With contributions from Dhruva Chakrabarti <Dhruva.Chakrabarti@amd.com>)
Reviewed By: jplehr
Differential Revision: https://reviews.llvm.org/D123974
Diffstat (limited to 'clang/unittests/Format/FormatTestComments.cpp')
0 files changed, 0 insertions, 0 deletions