[Openmp-commits] [PATCH] D97019: [OpenMP] libomp: Add masked construct, change proc-bind keyword, deprecate master construct

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 18 19:28:33 PST 2021


tlwilmar created this revision.
tlwilmar added reviewers: AndreyChurbanov, jlpeyton.
tlwilmar added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
tlwilmar requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Added API for "masked" construct via two entrypoints: __kmpc_masked, and __kmpc_end_masked. The "master" construct is deprecated. Changed proc-bind keyword from "master" to "primary". Use of both master construct and master as proc-bind keyword is still allowed, but deprecated.

Remove references to "master" in comments and strings, and replace with "primary" or "primary thread". Function names and variables were not touched, nor were references to deprecated master construct. These can be updated over time. No new code should refer to master.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D97019

Files:
  openmp/runtime/src/dllexports
  openmp/runtime/src/i18n/en_US.txt
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_barrier.cpp
  openmp/runtime/src/kmp_csupport.cpp
  openmp/runtime/src/kmp_dispatch.cpp
  openmp/runtime/src/kmp_dispatch_hier.h
  openmp/runtime/src/kmp_error.cpp
  openmp/runtime/src/kmp_global.cpp
  openmp/runtime/src/kmp_gsupport.cpp
  openmp/runtime/src/kmp_itt.h
  openmp/runtime/src/kmp_itt.inl
  openmp/runtime/src/kmp_omp.h
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_sched.cpp
  openmp/runtime/src/kmp_settings.cpp
  openmp/runtime/src/kmp_stats.cpp
  openmp/runtime/src/kmp_stats.h
  openmp/runtime/src/kmp_tasking.cpp
  openmp/runtime/src/kmp_threadprivate.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97019.324844.patch
Type: text/x-patch
Size: 78551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210219/c87e6e64/attachment-0001.bin>


More information about the Openmp-commits mailing list