This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][doc] Add documents for barrier related environment variables
AcceptedPublic

Authored by t-msn on Apr 11 2022, 7:51 PM.

Details

Summary

Update for KMP_FORKJOIN_BARRIER{_PATTERN}, KMP_PLAIN_BARRIER{_PATTERN}
and KMP_REDUCTION_BARRIER{_PATTERN}.

Diff Detail

Event Timeline

t-msn created this revision.Apr 11 2022, 7:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2022, 7:51 PM
t-msn added a project: Restricted Project.
t-msn added a subscriber: openmp-commits.
t-msn published this revision for review.Apr 11 2022, 7:56 PM

I couldn't find any documents on the web. Is there any existing materials?

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

openmp/docs/design/Runtimes.rst
446

This pattern is used for the parallel and teams constructs.

633

Also add that this pattern is used for implicit barriers at end of worksharing constructs.

t-msn updated this revision to Diff 422381.Apr 12 2022, 7:54 PM

Follow suggestions by jlpeyton. Thanks a lot.

t-msn added inline comments.Apr 12 2022, 7:55 PM
openmp/docs/design/Runtimes.rst
446

updated.

633

updated.

This revision is now accepted and ready to land.Apr 13 2022, 10:50 AM