[Openmp-commits] [PATCH] D107496: [OpenMP] Fix task wait doesn't work as expected in serialized team

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 4 14:17:20 PDT 2021


protze.joachim added a comment.

It's not just the last task, but any task after a detached/hidden task that has the issue to not be synchronized with the taskwait.

Instead of looking for the values in task_team, you could also just add `|| taskdata->td_parent->td_incomplete_child_tasks>0` and avoid a branch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107496



More information about the Openmp-commits mailing list