[Openmp-commits] [PATCH] D24486: [OpenMP] Stride in distribute parallel for loops with no chunk size

Phabricator via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 21 05:29:33 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL298362: Stride in distribute parallel for loops with no chunk size. (authored by achurbanov).

Changed prior to commit:
  https://reviews.llvm.org/D24486?vs=71072&id=92473#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24486

Files:
  openmp/trunk/runtime/src/kmp_sched.cpp


Index: openmp/trunk/runtime/src/kmp_sched.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_sched.cpp
+++ openmp/trunk/runtime/src/kmp_sched.cpp
@@ -281,6 +281,7 @@
                     }
                 }
             }
+            *pstride = trip_count;
             break;
         }
     case kmp_sch_static_chunked:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24486.92473.patch
Type: text/x-patch
Size: 378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170321/d106e33b/attachment.bin>


More information about the Openmp-commits mailing list