1 /* Check acc_is_present and acc_copyout. */
3 /* { dg-do run { target openacc_nvidia_accel_selected } } */
9 main (int argc
, char **argv
)
15 h
= (unsigned char *) malloc (N
);
17 for (i
= 0; i
< N
; i
++)
22 (void) acc_copyin (h
, N
);
26 for (i
= 0; i
< N
; i
++)
28 if (acc_is_present (h
+ i
, 1) != 0)