[Openmp-commits] [PATCH] D114005: [OpenMP][Tools] Fix handling of initial-task-end

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


protze.joachim added a comment.

In D114005#3135157 <https://reviews.llvm.org/D114005#3135157>, @dreachem wrote:

> What happens for a teams construct? The implicit tasks in that case are all initial tasks. Should this `Data->Team->Delete()` apply there as well, or only for the implicit parallel region for the whole program?

I think, support for teams is a separate issue, I created D114020 <https://reviews.llvm.org/D114020> for this. 
Looking at the implicit flushes section, I think we need to add an ordering constraint for initial-task-end events and the teams-end event. ("after all initial-task-end events" instead of "after the thread executes its initial-task-end event")


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114005



More information about the Openmp-commits mailing list