Commit 1d1ab74f by Nathan Sidwell Committed by Nathan Sidwell

collapse-2.c: Sequential loop is sequential.

	* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Sequential
	loop is sequential.

From-SVN: r230333
parent 5ae465c5
2015-11-13 Nathan Sidwell <nathan@codesourcery.com> 2015-11-13 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Sequential
loop is sequential.
2015-11-13 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: New. * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: New.
* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: New. * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: New.
......
...@@ -9,7 +9,7 @@ main (void) ...@@ -9,7 +9,7 @@ main (void)
int m1 = 4, m2 = -5, m3 = 17; int m1 = 4, m2 = -5, m3 = 17;
#pragma acc parallel copy(l) #pragma acc parallel copy(l)
#pragma acc loop collapse(3) reduction(+:l) #pragma acc loop seq collapse(3) reduction(+:l)
for (i = -2; i < m1; i++) for (i = -2; i < m1; i++)
for (j = m2; j < -2; j++) for (j = m2; j < -2; j++)
{ {
......
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