commit | 3f4c51a258bcfbf588265dd6e80726c67305f8eb | [log] [tgz] |
---|---|---|
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | Tue Aug 20 19:39:17 2019 +0000 |
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | Tue Aug 20 19:39:17 2019 +0000 |
tree | 148fd9fecac7f7e503ba80a4c3b256e9afd02ce4 | |
parent | 3eae253b1ac2da31d8928950dcb50956b64e81d1 [diff] |
Force honoring nthreads-var and thread-limit-var inside teams construct on host This patch fixes https://bugs.llvm.org/show_bug.cgi?id=42906, via adding adjustment of number of threads on enter to the teams construct on host according to user settings. This allows to pass checks and avoid assertions at time of team of threads creation. Patch by Andrey Churbanov Differential Revision: https://reviews.llvm.org/D66351 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@369430 91177308-0d34-0410-b5e6-96231b3b80d8