1 /* Call 'acc_memcpy_from_device' inside '#pragma acc host_data'. */
3 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
17 char *h
= (char *) malloc (SIZE
);
21 #pragma acc data create (h[0:SIZE - 44])
23 #pragma acc update device (h[0:SIZE - 44])
28 #pragma acc host_data use_device (d)
30 acc_memcpy_from_device (h
, d
, 12);
34 for (int i
= 0; i
< SIZE
; ++i
)