[Openmp-commits] [PATCH] D55598: Fix for https://bugs.llvm.org/show_bug.cgi?id=39970

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 12 05:40:36 PST 2018


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: jlpeyton, hbae, tlwilmar.
Herald added a subscriber: openmp-commits.

Some tests require more than 1 thread to pass. The patch checks max threads, and if iti is 1 then sets number of threads to more than one.

Exceptions:
ompt/misc/api_calls_places.c - broke the standard requirement, fixed this;
worksharing/for/omp_doacross.c - could not reproduce the failure, increased the number of threads just in case.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D55598

Files:
  runtime/test/api/omp_in_parallel.c
  runtime/test/flush/omp_flush.c
  runtime/test/ompt/misc/api_calls_places.c
  runtime/test/parallel/omp_nested.c
  runtime/test/tasking/omp_task.c
  runtime/test/tasking/omp_taskyield.c
  runtime/test/worksharing/for/kmp_sch_simd_runtime_api.c
  runtime/test/worksharing/for/kmp_sch_simd_runtime_guided.c
  runtime/test/worksharing/for/kmp_sch_simd_runtime_static.c
  runtime/test/worksharing/for/omp_doacross.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55598.177842.patch
Type: text/x-patch
Size: 6026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181212/9f0cfaf2/attachment.bin>


More information about the Openmp-commits mailing list