[Openmp-commits] [PATCH] D81314: [OpenMP][Tool] Handle detached tasks in Archer

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 5 15:43:38 PDT 2020

protze.joachim created this revision.
protze.joachim added reviewers: Hahnfeld, jdoerfert.
protze.joachim added a project: OpenMP.
Herald added subscribers: sstefan1, guansong, yaxunl.

Since detached tasks are supported by clang and the OpenMP runtime, Archer must expect to receive the corresponding callbacks.

This patch adds support to interpret the synchronization semantics of `omp_fulfill_event` and cleans up the handling of task switches.
The task_late_fulfill.c currently cannot use if(0) for the first task to avoid the race on `f_event`.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81314.268953.patch
Type: text/x-patch
Size: 10497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200605/bcd0bda3/attachment.bin>

More information about the Openmp-commits mailing list