collapse-2.c: Sequential loop is sequential.

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

From-SVN: r230333
This commit is contained in:
Nathan Sidwell 2015-11-13 16:53:28 +00:00 committed by Nathan Sidwell
parent 5ae465c530
commit 1d1ab74fcb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -9,7 +9,7 @@ main (void)
int m1 = 4, m2 = -5, m3 = 17;
#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 (j = m2; j < -2; j++)
{