aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorDhruva Chakrabarti <Dhruva.Chakrabarti@amd.com>2023-04-27 18:56:25 +0200
committerMichael Halkenhaeuser <MichaelGerald.Halkenhauser@amd.com>2023-05-02 18:35:30 +0200
commit8cd1f0d8885fd69c452c6bf3fb04514d06c899b0 (patch)
tree59488dcefb443898f1ee36e20795dab1c0fa54e0 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent1408504564f2ecc6020eb1b2735d441b3292ea27 (diff)
downloadllvm-8cd1f0d8885fd69c452c6bf3fb04514d06c899b0.zip
llvm-8cd1f0d8885fd69c452c6bf3fb04514d06c899b0.tar.gz
llvm-8cd1f0d8885fd69c452c6bf3fb04514d06c899b0.tar.bz2
[OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins
The purpose of this patch is to Implement registration of callback functions in the generic plugin by looking up corresponding callbacks in libomptarget. The overall design document is https://rice.app.box.com/s/pf3gix2hs4d4o1aatwir1set05xmjljc Defined an object of type OmptDeviceCallbacksTy in the amdgpu plugin for holding the tool-provided callback functions. Implemented a global constructor in the plugin that creates a connector object to connect with libomptarget. The callbacks that are already registered with libomptarget are looked up and registered with the plugin. Combined with an internal patch from Dhruva Chakrabarti, which fixes the OMPT initialization ordering. Achieved through removal of the constructor attribute from ompt_init. Patch from John Mellor-Crummey <johnmc@rice.edu> With contributions from: Dhruva Chakrabarti <Dhruva.Chakrabarti@amd.com> Michael Halkenhaeuser <MichaelGerald.Halkenhauser@amd.com> Differential Revision: https://reviews.llvm.org/D124070
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions