HomePhabricator

[OpenMP] Reset async stream properly upon failure

Authored by jhuber6 on Mar 26 2021, 1:50 PM.

Description

[OpenMP] Reset async stream properly upon failure

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.

Reviewers: jdoerfert

Differential Revision: https://reviews.llvm.org/D99443

Details

Committed
jhuber6Mar 26 2021, 4:05 PM
Differential Revision
D99443: [OpenMP] Reset async stream properly upon failure
Parents
rG7ce07c649438: [mlir] Remove unneeded ShapeFunctionLibraryTerminatorOp
Branches
Unknown
Tags
Unknown