[OpenMP][Tool] Handle detached tasks in Archer
authorJoachim Protze <protze@itc.rwth-aachen.de>
Fri, 30 Oct 2020 08:36:07 +0000 (09:36 +0100)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Tue, 3 Nov 2020 12:15:32 +0000 (13:15 +0100)
commite99207feb4b901e8f7bb6d3e70388d31fafc4330
tree916f8565828a8bf5bbc9d27d4ed85141e6154d23
parentcbf25fbed5b46ec47e3ce2799ed9095f2f18ea8f
[OpenMP][Tool] Handle detached tasks in Archer

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.
openmp/tools/archer/ompt-tsan.cpp
openmp/tools/archer/tests/CMakeLists.txt
openmp/tools/archer/tests/task/task_early_fulfill.c [new file with mode: 0644]
openmp/tools/archer/tests/task/task_late_fulfill.c [new file with mode: 0644]