diff options
| author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2018-12-13 10:04:10 +0000 |
|---|---|---|
| committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2018-12-13 10:04:10 +0000 |
| commit | 74f98554f92dabb4c1be7db9e1712f060f3cdbca (patch) | |
| tree | 59bb9e8401d6a669bcb3fa93060833edb24ac7ae /openmp/runtime/test/parallel | |
| parent | 76f4ae109266fae1d17cade097a14216bc10822e (diff) | |
| download | bcm5719-llvm-74f98554f92dabb4c1be7db9e1712f060f3cdbca.tar.gz bcm5719-llvm-74f98554f92dabb4c1be7db9e1712f060f3cdbca.zip | |
Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39970
Broken tests fixed
Differential Revision: https://reviews.llvm.org/D55598
llvm-svn: 349017
Diffstat (limited to 'openmp/runtime/test/parallel')
| -rw-r--r-- | openmp/runtime/test/parallel/omp_nested.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/test/parallel/omp_nested.c b/openmp/runtime/test/parallel/omp_nested.c index 8b780889015..d2d5b085ba7 100644 --- a/openmp/runtime/test/parallel/omp_nested.c +++ b/openmp/runtime/test/parallel/omp_nested.c @@ -12,6 +12,8 @@ int test_omp_nested() #ifdef _OPENMP if (omp_get_max_threads() > 4) omp_set_num_threads(4); + if (omp_get_max_threads() < 2) + omp_set_num_threads(2); #endif int counter = 0; |

