[Openmp-commits] [PATCH] D92326: [OpenMP] libomp: fix mutexinoutset dependence for proxy tasks
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Nov 30 11:55:41 PST 2020
tianshilei1992 accepted this revision.
tianshilei1992 added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: openmp/runtime/src/kmp_taskdeps.h:93
+ // Check mutexinoutset dependencies, release locks
+ if (UNLIKELY(node && (node->dn.mtx_num_locks < 0))) {
+ // negative num_locks means all locks were acquired
----------------
Why is it "unlikely"? Because `mutexinoutset` is a rare case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92326/new/
https://reviews.llvm.org/D92326
More information about the Openmp-commits
mailing list