This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Synchronization hint constants added to headers
ClosedPublic

Authored by jlpeyton on Aug 24 2018, 2:00 PM.

Details

Summary

ident flags reserved for atomic hints.
This patch adds omp_sync_hint_t to omp.h and omp_sync_hint_kind to omp_lib.h.
For better maintainability the list of macros for ident flags was replaced with
a enum. The new KMP_IDENT_ATOMIC_HINT_MASK was added to the enum to
support possible future atomic hints.

Patch by Olga Malysheva

Diff Detail

Repository
rOMP OpenMP

Event Timeline

jlpeyton created this revision.Aug 24 2018, 2:00 PM
hbae accepted this revision.Aug 24 2018, 2:38 PM

LGTM.

This revision is now accepted and ready to land.Aug 24 2018, 2:38 PM
This revision was automatically updated to reflect the committed changes.