This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomp] Allow reset affinity mask after parallel
ClosedPublic

Authored by jlpeyton on May 19 2022, 11:22 AM.

Details

Summary

Added control to reset affinity of primary thread after outermost parallel
region to initial affinity encountered before OpenMP runtime was initialized.
KMP_AFFINITY environment variable reset/noreset modifier introduced.
Default behavior is unchanged.

Diff Detail

Event Timeline

jlpeyton created this revision.May 19 2022, 11:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 11:22 AM
jlpeyton requested review of this revision.May 19 2022, 11:22 AM
This revision is now accepted and ready to land.Jul 15 2022, 9:04 AM
This revision was landed with ongoing or failed builds.Jul 19 2022, 11:10 AM
This revision was automatically updated to reflect the committed changes.