This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NVPTX] Fixed missing variables for CUDA free compilation in NVPTX plugin
ClosedPublic

Authored by tianshilei1992 on Aug 28 2021, 2:38 PM.

Details

Summary

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.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Aug 28 2021, 2:38 PM
tianshilei1992 requested review of this revision.Aug 28 2021, 2:38 PM
Herald added a project: Restricted Project. · View Herald Transcript
ronlieb accepted this revision.Aug 28 2021, 2:39 PM
This revision is now accepted and ready to land.Aug 28 2021, 2:39 PM
This revision was landed with ongoing or failed builds.Aug 28 2021, 3:08 PM
This revision was automatically updated to reflect the committed changes.