2 /* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
8 main (int argc
, char **argv
)
15 for (i
= 0; i
< N
; i
++)
17 h
[i
] = (unsigned char *) malloc (N
);
18 d
[i
] = acc_malloc (N
);
20 acc_map_data (h
[i
], d
[i
], N
);
23 for (i
= 0; i
< N
; i
++)
25 if (acc_is_present (h
[i
], N
) != 1)
29 for (i
= 0; i
< N
; i
++)
31 acc_unmap_data (h
[i
]);
33 if (acc_is_present (h
[i
], N
) != 0)