mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 21:59:54 +08:00
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:
parent
5ae465c530
commit
1d1ab74fcb
@ -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.
|
||||
|
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user