1 /* { dg-do run { target openacc_nvidia_accel_selected } } */
9 main (int argc
, char **argv
)
16 h
= (unsigned char *) malloc (N
);
18 for (i
= 0; i
< N
; i
++)
25 acc_memcpy_to_device (d
, h
, N
);
29 fprintf (stderr
, "CheCKpOInT\n");
30 acc_memcpy_from_device (0, d
, N
);
32 for (i
= 0; i
< N
; i
++)
45 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
46 /* { dg-output "invalid host address" } */
47 /* { dg-shouldfail "" } */