[OpenMP][Offloading] Add support for event related interfaces
authorShilei Tian <tianshilei1992@gmail.com>
Sat, 28 Aug 2021 20:24:06 +0000 (16:24 -0400)
committerShilei Tian <tianshilei1992@gmail.com>
Sat, 28 Aug 2021 20:24:14 +0000 (16:24 -0400)
commit29df4ab3f3c9bf37529ee04795abfd90b7691857
treec78268c264426c02b07437be91ef1e096958e3fe
parent0405e6448355167f7815a01852e1446c8762001b
[OpenMP][Offloading] Add support for event related interfaces

This patch adds the support form event related interfaces, which will be used
later to fix data race. See D104418 for more details.

Reviewed By: jdoerfert, ye-luo

Differential Revision: https://reviews.llvm.org/D108528
openmp/libomptarget/include/omptargetplugin.h
openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h
openmp/libomptarget/plugins/cuda/src/rtl.cpp
openmp/libomptarget/plugins/exports
openmp/libomptarget/src/device.cpp
openmp/libomptarget/src/device.h
openmp/libomptarget/src/rtl.cpp
openmp/libomptarget/src/rtl.h