This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomp] Parameterize affinity initialization
ClosedPublic

Authored by jlpeyton on Oct 3 2022, 3:02 PM.

Details

Summary

This patch parameterizes the affinity initialization code to allow multiple affinity settings. Almost all global affinity settings are consolidated and put into a structure kmp_affinity_t. This is in anticipation of the addition of hidden helper affinity which will have the same syntax and semantics as KMP_AFFINITY only for the hidden helper team.

Diff Detail

Event Timeline

jlpeyton created this revision.Oct 3 2022, 3:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2022, 3:02 PM
jlpeyton requested review of this revision.Oct 3 2022, 3:02 PM
jdoerfert accepted this revision.Oct 25 2022, 2:36 PM

LG, please upload with full context in the future.

This revision is now accepted and ready to land.Oct 25 2022, 2:36 PM
This revision was automatically updated to reflect the committed changes.