[Openmp-commits] [PATCH] D139373: [OpenMP] Fix dynamic schedule assertion failure on AArch64
Nawrin Sultana via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 11 10:43:02 PST 2023
Nawrin updated this revision to Diff 488286.
Nawrin added a reviewer: AndreyChurbanov.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139373/new/
https://reviews.llvm.org/D139373
Files:
openmp/runtime/src/kmp_dispatch.cpp
Index: openmp/runtime/src/kmp_dispatch.cpp
===================================================================
--- openmp/runtime/src/kmp_dispatch.cpp
+++ openmp/runtime/src/kmp_dispatch.cpp
@@ -1289,7 +1289,7 @@
break;
}
}
- if (KMP_ATOMIC_LD_RLX(&v->steal_flag) != READY ||
+ if (KMP_ATOMIC_LD_ACQ(&v->steal_flag) != READY ||
v->u.p.count >= (UT)v->u.p.ub) {
pr->u.p.parm4 = (victimId + 1) % nproc; // shift start victim tid
continue; // no chunks to steal, try next victim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139373.488286.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230111/6f68a91e/attachment-0001.bin>
More information about the Openmp-commits
mailing list