]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix libgomp.oacc-c-c++-common/loop-g-{1,2}.c for non-nvidia devices
authorTom de Vries <tom@codesourcery.com>
Thu, 28 Sep 2017 06:35:23 +0000 (06:35 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 28 Sep 2017 06:35:23 +0000 (06:35 +0000)
2017-09-28  Tom de Vries  <tom@codesourcery.com>

* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove
vector_length(32) clause from acc parallel directive.
* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c (main): Same.

From-SVN: r253249

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c

index 7fd88037878c847bd94b33711f0f2ec8e377c4b9..4f8b4b48d6b9202c54e055164a44b3d07e25028d 100644 (file)
@@ -1,3 +1,9 @@
+2017-09-28  Tom de Vries  <tom@codesourcery.com>
+
+       * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove
+       vector_length(32) clause from acc parallel directive.
+       * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c (main): Same.
+
 2017-09-27  Tom de Vries  <tom@codesourcery.com>
 
        * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c (main):
index 7bff6cddf84e2d0da2e08ae17f969745850e76d9..ae1d588db8f7ffdf8a02cf56d95141c0f5e29259 100644 (file)
@@ -15,7 +15,7 @@ int main ()
   for (ix = 0; ix < N;ix++)
     ary[ix] = -1;
   
-#pragma acc parallel num_gangs(32) vector_length(32) copy(ary) copy(ondev)
+#pragma acc parallel num_gangs(32) copy(ary) copy(ondev)
   {
 #pragma acc loop gang
     for (unsigned ix = 0; ix < N; ix++)
index 92b82a01eb06e33d5152e66171d6ad275e98eb1e..c06d861b07d3ff8a06bc08dbfa8671abdeff0a1a 100644 (file)
@@ -15,7 +15,7 @@ int main ()
   for (ix = 0; ix < N;ix++)
     ary[ix] = -1;
   
-#pragma acc parallel num_gangs(32) vector_length(32) copy(ary) copy(ondev)
+#pragma acc parallel num_gangs(32) copy(ary) copy(ondev)
   {
 #pragma acc loop gang (static:1)
     for (unsigned ix = 0; ix < N; ix++)