This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][DeviceRTL][NFC] Use `OMPTgtExecModeFlags` from `llvm/include/llvm/Frontend/OpenMP/OMPDeviceConstants.h`
ClosedPublic

Authored by tianshilei1992 on Jan 22 2023, 3:46 PM.

Details

Summary

This patch makes preparation for a series that will enable per-kernel information
used in both host and device runtime. Some variables/enums, such as OMPTgtExecModeFlags,
have to be shared by both of them. A new header OMPDeviceConstants.h is added,
containing code that will be shared by them. We will introduce more variables soon.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Jan 22 2023, 3:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2023, 3:46 PM
tianshilei1992 requested review of this revision.Jan 22 2023, 3:46 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 22 2023, 3:46 PM
This revision is now accepted and ready to land.Jan 22 2023, 4:05 PM
This revision was landed with ongoing or failed builds.Jan 22 2023, 4:11 PM
This revision was automatically updated to reflect the committed changes.