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 #pragma acc exit data delete(s.a)
24 #pragma acc exit data delete(s.b)
26 assert (!acc_is_present (&s
.a
, sizeof s
.a
));
27 assert (!acc_is_present (&s
.b
, sizeof s
.b
));