This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Adding GOMP compatible cancellation
ClosedPublic

Authored by jlpeyton on Feb 8 2019, 12:17 PM.

Details

Summary

Remove fatal error messages from the cancellation API for GOMP
Add __kmp_barrier_gomp_cancel() to implement cancellation of parallel regions.
This new function uses the linear barrier algorithm with a cancellable nonsleepable wait loop.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton created this revision.Feb 8 2019, 12:17 PM
This revision is now accepted and ready to land.Feb 13 2019, 2:59 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2019, 10:47 AM