This is an archive of the discontinued LLVM Phabricator instance.

Fix hierarchical barrier deadlock for infinite blocktime

Authored by Nawrin on Oct 29 2020, 11:28 AM.



This patch fixes the deadlock in hierarchical barrier for infinite blocktime by adjusting the offset value of leaf kids to match the value of leaf state.

Diff Detail

Event Timeline

Nawrin requested review of this revision.Oct 29 2020, 11:28 AM
Nawrin created this revision.

Can we have a test for this?

Nawrin updated this revision to Diff 302412.Nov 2 2020, 2:50 PM

Add env in barrier test to use hierarchical barrier instead of the default barrier

one comment.


Can you add the KMP_BLOCKTIME=infinite envirable as well?