[Openmp-commits] [PATCH] D134983: [OpenMP] Ignore schedule modifier in static scheduling
Hansang Bae via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Oct 3 06:40:25 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG772fb97c0b9b: [OpenMP] Ignore schedule modifier in static scheduling (authored by hbae).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134983/new/
https://reviews.llvm.org/D134983
Files:
openmp/runtime/src/kmp_sched.cpp
Index: openmp/runtime/src/kmp_sched.cpp
===================================================================
--- openmp/runtime/src/kmp_sched.cpp
+++ openmp/runtime/src/kmp_sched.cpp
@@ -83,6 +83,9 @@
KMP_PUSH_PARTITIONED_TIMER(OMP_loop_static);
KMP_PUSH_PARTITIONED_TIMER(OMP_loop_static_scheduling);
+ // Clear monotonic/nonmonotonic bits (ignore it)
+ schedtype = SCHEDULE_WITHOUT_MODIFIERS(schedtype);
+
typedef typename traits_t<T>::unsigned_t UT;
typedef typename traits_t<T>::signed_t ST;
/* this all has to be changed back to TID and such.. */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134983.464666.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221003/2bbfeb2d/attachment-0001.bin>
More information about the Openmp-commits
mailing list