[Openmp-commits] [PATCH] D51233: [OpenMP] Synchronization hint constants added to headers

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 24 14:01:07 PDT 2018


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar, hbae.
jlpeyton added a project: OpenMP.
Herald added subscribers: jfb, guansong.

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


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51233

Files:
  runtime/src/include/50/omp.h.var
  runtime/src/include/50/omp_lib.f90.var
  runtime/src/include/50/omp_lib.h.var
  runtime/src/kmp.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51233.162476.patch
Type: text/x-patch
Size: 10650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180824/b235c152/attachment.bin>


More information about the Openmp-commits mailing list