[Openmp-commits] [PATCH] D77609: [OpenMP][WIP] Added the support for unshackled task in RTL
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Aug 26 18:42:04 PDT 2020
tianshilei1992 added inline comments.
================
Comment at: openmp/runtime/src/kmp_tasking.cpp:3771
+ if (task_team)
+ while (KMP_ATOMIC_LD_ACQ(&task_team->tt.tt_unfinished_unshackled_tasks))
+ ;
----------------
tianshilei1992 wrote:
> adurang wrote:
> > It seems to me that this is forcing any taskwait (and possibly taskgroup) to wait for any outstanding "async target" that exist on the team irrespectively of being a part of that synchronization domain or not.
> Not any async target. Only those created in the team.
Sorry I still didn't understand this part. Could you please expatiate it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77609/new/
https://reviews.llvm.org/D77609
More information about the Openmp-commits
mailing list