[tests] Add annotations for taskloop features
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 2 Aug 2018 14:34:03 +0000 (14:34 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 2 Aug 2018 14:34:03 +0000 (14:34 +0000)
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

openmp/runtime/test/ompt/tasks/taskloop.c
openmp/runtime/test/tasking/omp_taskloop_grainsize.c
openmp/runtime/test/tasking/omp_taskloop_num_tasks.c

index dc04f61..59a47bf 100644 (file)
@@ -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>
 
index d4bd770..0833073 100644 (file)
@@ -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
index 2a932e3..7c3c704 100644 (file)
@@ -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