This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add environment variable to force monotonic dynamic scheduling

Authored by tlwilmar on Jan 22 2021, 12:58 PM.



This patch introduces a new environment variable to force monotonic behavior for users that absolutely need it. This is in anticipation of a 5.0 spec change that uses non-monotonic behavior for dynamic scheduling by default. Fixes for that and the actual switch are coming soon.

Patch by Johnny Peyton.

Diff Detail

Event Timeline

tlwilmar created this revision.Jan 22 2021, 12:58 PM
tlwilmar requested review of this revision.Jan 22 2021, 12:58 PM
Nawrin added a subscriber: Nawrin.Jan 27 2021, 8:32 AM
Nawrin added inline comments.

Could you please change the comment from hand_thread to force_monotonic?


Same as above

tlwilmar updated this revision to Diff 319903.Jan 28 2021, 9:36 AM

Addressed Nawrin's comment fixes.

Nawrin accepted this revision.Jan 28 2021, 10:46 AM


This revision is now accepted and ready to land.Jan 28 2021, 10:46 AM