Latest OpenMP spec says parallel_data is NULL for initial/implicit-task-end.
We nevertheless need to cleanup the ParallelData here, as there is no other
callback for the end of the implicit parallel region. We can use the reference
stored in the TaskData.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
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?
Comment Actions
I think, support for teams is a separate issue, I created 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")
Comment Actions
Hi, @protze.joachim.
We have a dependency on this patch, therefore we'd like to know if you'll be committing it or if it's been held back for unknown reasons.