3 /* Test reductions on explicitly private variables. */
13 for (i
= 0; i
< 10; i
++)
16 #pragma acc parallel copyout(red)
18 #pragma acc loop gang private(v)
19 for (j
= 0; j
< 10; j
++)
23 #pragma acc loop vector reduction (+:v)
24 for (i
= 0; i
< 100; i
++)
31 for (i
= 0; i
< 10; i
++)
32 assert (red
[i
] == i
+ 100);