3 /* Test of gang-private variables declared on loop directive. */
6 main (int argc
, char* argv
[])
10 for (i
= 0; i
< 32; i
++)
13 #pragma acc kernels copy(arr)
15 #pragma acc loop gang(num:32) private(x)
16 for (i
= 0; i
< 32; i
++)
23 for (i
= 0; i
< 32; i
++)
24 assert (arr
[i
] == i
* 3);