[OpenMP][NVPTX] Fixed missing variables for CUDA free compilation in NVPTX plugin
authorShilei Tian <tianshilei1992@gmail.com>
Sat, 28 Aug 2021 22:08:03 +0000 (18:08 -0400)
committerShilei Tian <tianshilei1992@gmail.com>
Sat, 28 Aug 2021 22:08:10 +0000 (18:08 -0400)
commite8fdacfd8116c9df47fbb954c93871a7cd42f7d0
tree190bfa78c01c2254c9680391463ce2085e34ffe2
parente4f3f2c0c5f22ddfe86d16ba09fd0171bed0f2b3
[OpenMP][NVPTX] Fixed missing variables for CUDA free compilation in NVPTX plugin

`CU_EVENT_DEFAULT` is defined in CUDA header. It should be added to
`openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h` for CUDA free build.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D108878
openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h