[Openmp-commits] [PATCH] D109026: [OpenMP] Change monotonicity of dynamic schedule

Nawrin Sultana via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 7 06:21:32 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc24da72fa434: [OpenMP] Change monotonicity of dynamic schedule (authored by Nawrin).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109026

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
@@ -72,8 +72,8 @@
 static inline int __kmp_get_monotonicity(ident_t *loc, enum sched_type schedule,
                                          bool use_hier = false) {
   // Pick up the nonmonotonic/monotonic bits from the scheduling type
-  // TODO: make nonmonotonic when static_steal is fixed
-  int monotonicity = SCHEDULE_MONOTONIC;
+  // Nonmonotonic as default for dynamic schedule when no modifier is specified
+  int monotonicity = SCHEDULE_NONMONOTONIC;
 
   // Let default be monotonic for executables
   // compiled with OpenMP* 4.5 or less compilers


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109026.371058.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210907/42e750ab/attachment.bin>


More information about the Openmp-commits mailing list