[Openmp-commits] [PATCH] D103648: [OpenMP] libomp: fix dynamic loop dispatcher

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jun 17 09:31:03 PDT 2021


jlpeyton added a comment.

Can you elaborate in the summary what your fixing about the static_steal schedule?



================
Comment at: openmp/runtime/src/kmp_dispatch.cpp:1254-1256
+            // if (nchunks == sh->u.s.iteration)
+            //  break; // nothing to steal
+            // else
----------------
Can we get rid of these commented lines?


================
Comment at: openmp/runtime/src/kmp_dispatch.cpp:1400-1402
+            // if (nchunks == sh->u.s.iteration)
+            //  break; // nothing to steal
+            // else
----------------
Can we get rid of these commented lines?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103648



More information about the Openmp-commits mailing list