[openmp] Fixed nonmonotonic schedule when #threads > #chunks in a loop.
authorAndreyChurbanov <andrey.churbanov@intel.com>
Wed, 27 Nov 2019 12:26:51 +0000 (15:26 +0300)
committerAndreyChurbanov <andrey.churbanov@intel.com>
Wed, 27 Nov 2019 12:26:51 +0000 (15:26 +0300)
commitbd2fb41c2dd537d1ab0dbce5795a1fef3de6cd52
tree54efca4c984ed33ea32a0056e3a7ddbc4202b852
parent755dfaa1048ef216cfdce68b05185d8ab1b00ae7
[openmp] Fixed nonmonotonic schedule when #threads > #chunks in a loop.

Differential Revision: https://reviews.llvm.org/D70713
openmp/runtime/src/kmp_dispatch.cpp
openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c [new file with mode: 0644]