1 /* Not all implement this checking.
2 { dg-skip-if "" { openacc_radeon_accel_selected || openacc_host_selected } } */
10 main (int argc
, char **argv
)
17 h
= (unsigned char *) malloc (N
);
19 for (i
= 0; i
< N
; i
++)
26 acc_memcpy_to_device (d
, h
, N
);
30 fprintf (stderr
, "CheCKpOInT\n");
31 acc_memcpy_from_device (0, d
, N
);
33 for (i
= 0; i
< N
; i
++)
46 /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */
47 /* { dg-output "invalid host address" } */
48 /* { dg-shouldfail "" } */