Commit 7d6206fe by Tom de Vries Committed by Tom de Vries

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.

From-SVN: r253249
parent 84f76123
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):
......
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment