From 3b939d070c79c0de68170f004d1a4c79ec0bf1bd Mon Sep 17 00:00:00 2001 From: Andrey Churbanov Date: Tue, 21 Mar 2017 12:17:22 +0000 Subject: [PATCH] Stride in distribute parallel for loops with no chunk size. Patch by George Rokos. Differential Revision: https://reviews.llvm.org/D24486 llvm-svn: 298362 --- openmp/runtime/src/kmp_sched.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/openmp/runtime/src/kmp_sched.cpp b/openmp/runtime/src/kmp_sched.cpp index c19fe442772a..7ebbb62eca5d 100644 --- a/openmp/runtime/src/kmp_sched.cpp +++ b/openmp/runtime/src/kmp_sched.cpp @@ -281,6 +281,7 @@ __kmp_for_static_init( } } } + *pstride = trip_count; break; } case kmp_sch_static_chunked: