1 /* Test dynamic unmapping of separate structure members. */
3 /* { dg-skip-if "" { *-*-* } { "-DACC_MEM_SHARED=1" } } */
18 #pragma acc enter data create(s.a, s.b)
20 assert (acc_is_present (&s
.a
, sizeof s
.a
));
21 assert (acc_is_present (&s
.b
, sizeof s
.b
));
23 acc_delete (&s
.a
, sizeof s
.a
);
24 acc_delete (&s
.b
, sizeof s
.b
);
26 assert (!acc_is_present (&s
.a
, sizeof s
.a
));
27 assert (!acc_is_present (&s
.b
, sizeof s
.b
));