[Openmp-commits] [PATCH] D123564: [OpenMP][doc] Add documents for barrier related environment variables

Misono Tomohiro via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 12 19:55:37 PDT 2022


t-msn added inline comments.


================
Comment at: openmp/docs/design/Runtimes.rst:446
+""""""""""""""""""""""""""""
+Specifies barrier pattern of forkjoin barrier which is used in worker threads' fork and join.
+As libomp barrier adopts centralized barrier, barrier pattern can be specified for gather
----------------
jlpeyton wrote:
> This pattern is used for the parallel and teams constructs.
updated.


================
Comment at: openmp/docs/design/Runtimes.rst:633
+"""""""""""""""""""""""""
+Specifies barrier pattern of plain barrier which is used for ``#pragma omp barrier``.
+See ``KMP_FORKJOIN_BARRIER_PATTERN`` for currently supported patterns.
----------------
jlpeyton wrote:
> Also add that this pattern is used for implicit barriers at end of worksharing constructs.
updated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123564/new/

https://reviews.llvm.org/D123564



More information about the Openmp-commits mailing list