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

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 12 08:54:59 PDT 2022


jlpeyton added a comment.

There are no existing documentation for these. Thanks for creating this!



================
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
----------------
This pattern is used for the parallel and teams constructs.


================
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.
----------------
Also add that this pattern is used for implicit barriers at end of worksharing constructs.


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