assert (v.b[i] == v.a + i);
assert (!acc_is_present (&v, sizeof (v)));
- assert (!acc_is_present (v.b, sizeof (int *) * n));
+ assert (!acc_is_present (v.b, sizeof (int) * n));
}
return 0;
assert (v.b[i] == v.a + i);
assert (acc_is_present (&v, sizeof (v)));
- assert (!acc_is_present (v.b, sizeof (int *) * n));
- assert (!acc_is_present (v.c, sizeof (int *) * n));
- assert (!acc_is_present (v.d, sizeof (int *) * n));
+ assert (!acc_is_present (v.b, sizeof (int) * n));
+ assert (!acc_is_present (v.c, sizeof (int) * n));
+ assert (!acc_is_present (v.d, sizeof (int) * n));
}
#pragma acc exit data copyout(v)