[Openmp-commits] [PATCH] D114020: [OpenMP][Tools] Teams support for libarcher

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 16 12:05:21 PST 2021


protze.joachim created this revision.
protze.joachim added a reviewer: dreachem.
protze.joachim added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
protze.joachim requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Adding teams support for Archer:

- data management in initial-task-begin/end is different for the initial tasks in a league than for the initial task representing the OpenMP program.
- storing the flag from the parallel begin allows to distinguish league and parallel team
- according to OpenMP implicit flush semantics, the end of initial tasks in a league is before the program can continue execution at the end of the teams region.
- in contrast, for a parallel region, the synchronization happens in the implicit barrier and the parallel-end event should not be involved.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114020

Files:
  openmp/tools/archer/ompt-tsan.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114020.387727.patch
Type: text/x-patch
Size: 5075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211116/d263f836/attachment.bin>


More information about the Openmp-commits mailing list