2 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
8 main (int argc
, char **argv
)
14 a
= (float *) malloc (N
* sizeof (float));
15 b
= (float *) malloc (N
* sizeof (float));
17 for (i
= 0; i
< N
; i
++)
23 #pragma acc data copyin(a[0:N]) copyout(b[0:N])
26 #pragma acc parallel present(a[0:N])
30 for (ii
= 0; ii
< N
; ii
++)
38 for (i
= 0; i
< N
; i
++)