[nvptx] Fix libgomp.oacc-c-c++-common/vector-length-128-3.c
authorTom de Vries <tdevries@suse.de>
Mon, 7 Jan 2019 08:09:49 +0000 (08:09 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 7 Jan 2019 08:09:49 +0000 (08:09 +0000)
The vector-length-128-3.c test-case uses GOMP_OPENACC_DIM=-:-:128, but '-' is
not yet supported on trunk.  Use GOMP_OPENACC_DIM=::128 instead.

2019-01-07  Tom de Vries  <tdevries@suse.de>

* testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: Fix
GOMP_OPENACC_DIM argument.

From-SVN: r267624

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c

index 021d01b..120f087 100644 (file)
@@ -1,3 +1,8 @@
+2019-01-07  Tom de Vries  <tdevries@suse.de>
+
+       * testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: Fix
+       GOMP_OPENACC_DIM argument.
+
 2019-01-03  Tom de Vries  <tdevries@suse.de>
 
        * testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: New test.
index c403e74..59be37a 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-additional-options "-foffload=-fdump-tree-oaccdevlow" } */
 /* We default to warp size 32 for the vector length, so the GOMP_OPENACC_DIM has
    no effect.  */
-/* { dg-set-target-env-var "GOMP_OPENACC_DIM" "-:-:128" } */
+/* { dg-set-target-env-var "GOMP_OPENACC_DIM" "::128" } */
 /* { dg-set-target-env-var "GOMP_DEBUG" "1" } */