diff options
| author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-08-02 14:34:03 +0000 |
|---|---|---|
| committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-08-02 14:34:03 +0000 |
| commit | 5b57eb4b09083e5b0f50de3ffb64a19034d78263 (patch) | |
| tree | 7d93c5c2020eb3c5a94f15cc8726787a2a19e622 /openmp | |
| parent | 3f6e9a71f7dee5e44b5d6dae16d7a31163f9d7c1 (diff) | |
| download | bcm5719-llvm-5b57eb4b09083e5b0f50de3ffb64a19034d78263.tar.gz bcm5719-llvm-5b57eb4b09083e5b0f50de3ffb64a19034d78263.zip | |
[tests] Add annotations for taskloop features
Only supported since GCC 6 and Intel 17.0. However GCC 6.3.0 is
crashing on two of the tests, so disable them as well...
Differential Revision: https://reviews.llvm.org/D50085
llvm-svn: 338720
Diffstat (limited to 'openmp')
| -rw-r--r-- | openmp/runtime/test/ompt/tasks/taskloop.c | 6 | ||||
| -rw-r--r-- | openmp/runtime/test/tasking/omp_taskloop_grainsize.c | 6 | ||||
| -rw-r--r-- | openmp/runtime/test/tasking/omp_taskloop_num_tasks.c | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/openmp/runtime/test/ompt/tasks/taskloop.c b/openmp/runtime/test/ompt/tasks/taskloop.c index dc04f61cf74..59a47bf4eef 100644 --- a/openmp/runtime/test/ompt/tasks/taskloop.c +++ b/openmp/runtime/test/ompt/tasks/taskloop.c @@ -1,6 +1,12 @@ // RUN: %libomp-compile-and-run | FileCheck %s // RUN: %libomp-compile-and-run | FileCheck --check-prefix=TASKS %s // REQUIRES: ompt + +// These compilers don't support the taskloop construct +// UNSUPPORTED: gcc-4, gcc-5, icc-16 +// GCC 6 has support for taskloops, but at least 6.3.0 is crashing on this test +// UNSUPPORTED: gcc-6 + #include "callback.h" #include <omp.h> diff --git a/openmp/runtime/test/tasking/omp_taskloop_grainsize.c b/openmp/runtime/test/tasking/omp_taskloop_grainsize.c index d4bd770468d..0833073efb2 100644 --- a/openmp/runtime/test/tasking/omp_taskloop_grainsize.c +++ b/openmp/runtime/test/tasking/omp_taskloop_grainsize.c @@ -1,5 +1,11 @@ // RUN: %libomp-compile-and-run // RUN: %libomp-compile && env KMP_TASKLOOP_MIN_TASKS=1 %libomp-run + +// These compilers don't support the taskloop construct +// UNSUPPORTED: gcc-4, gcc-5, icc-16 +// GCC 6 has support for taskloops, but at least 6.3.0 is crashing on this test +// UNSUPPORTED: gcc-6 + /* * Test for taskloop * Method: caculate how many times the iteration space is dispatched diff --git a/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c b/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c index 2a932e3668a..7c3c7042af3 100644 --- a/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c +++ b/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c @@ -1,5 +1,9 @@ // RUN: %libomp-compile-and-run // RUN: %libomp-compile && env KMP_TASKLOOP_MIN_TASKS=1 %libomp-run + +// These compilers don't support the taskloop construct +// UNSUPPORTED: gcc-4, gcc-5, icc-16 + /* * Test for taskloop * Method: caculate how many times the iteration space is dispatched |

