This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] libomp: honor passive wait policy requested in the presence of tasking
ClosedPublic

Authored by AndreyChurbanov on Apr 4 2022, 9:14 AM.

Details

Summary

Currently the library ignores requested wait policy in the presence of tasking.
Threads always actively spin. The patch fixes this problem making the wait
policy passive if this explicitly requested by user.

Diff Detail

Event Timeline

AndreyChurbanov created this revision.Apr 4 2022, 9:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 9:14 AM
AndreyChurbanov requested review of this revision.Apr 4 2022, 9:14 AM
This revision is now accepted and ready to land.May 18 2022, 8:06 AM