Page MenuHomePhabricator

[OpenMP] Reset async stream properly upon failure
ClosedPublic

Authored by jhuber6 on Mar 26 2021, 2:18 PM.

Details

Summary

If the call to synchronize fails, it will currently block the stream indefinitely if execution is continued from this point. Additionally, if the program exits it will trigger an assertion on the non-null value of the async queue and prevent the runtime from printing debugging information.

Diff Detail

Event Timeline

jhuber6 created this revision.Mar 26 2021, 2:18 PM
jhuber6 requested review of this revision.Mar 26 2021, 2:18 PM
This revision is now accepted and ready to land.Mar 26 2021, 3:18 PM
This revision was landed with ongoing or failed builds.Mar 26 2021, 4:05 PM
This revision was automatically updated to reflect the committed changes.