Fix libgomp.oacc-c-c++-common/loop-g-{1,2}.c for non-nvidia devices
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.
---
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c | 2 +-
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -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++)
@@ -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++)