[Openmp-commits] [PATCH] D50085: [tests] Add annotations for taskloop features

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 31 10:53:16 PDT 2018


Hahnfeld created this revision.
Hahnfeld added reviewers: jlpeyton, AndreyChurbanov, protze.joachim.
Herald added a subscriber: openmp-commits.

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...


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D50085

Files:
  runtime/test/ompt/tasks/taskloop.c
  runtime/test/tasking/omp_taskloop_grainsize.c
  runtime/test/tasking/omp_taskloop_num_tasks.c


Index: runtime/test/tasking/omp_taskloop_num_tasks.c
===================================================================
--- runtime/test/tasking/omp_taskloop_num_tasks.c
+++ 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
Index: runtime/test/tasking/omp_taskloop_grainsize.c
===================================================================
--- runtime/test/tasking/omp_taskloop_grainsize.c
+++ 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
Index: runtime/test/ompt/tasks/taskloop.c
===================================================================
--- runtime/test/ompt/tasks/taskloop.c
+++ runtime/test/ompt/tasks/taskloop.c
@@ -1,5 +1,11 @@
 // RUN: %libomp-compile && %libomp-run | FileCheck %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>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50085.158325.patch
Type: text/x-patch
Size: 1698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180731/1dc19d76/attachment.bin>


More information about the Openmp-commits mailing list