[Openmp-commits] [PATCH] D158170: [OpenMP][Archer] Avoid false positive for OpenMP tasking

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 28 02:30:04 PDT 2023


protze.joachim marked 2 inline comments as done.
protze.joachim added a comment.

Between creation and execution of the task we have an explicit happens-before edge. 
The false positive comes from the access to the private data during execution and reuse of the memory for the next task. `startTask` is be before the execution of the task.
We need to store the memory information, because only in `startTask` we can query the task memory according to OMPT. In `endTask` we would get the information for the task that reached the task scheduling point where our task of interest was scheduled.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158170/new/

https://reviews.llvm.org/D158170



More information about the Openmp-commits mailing list