6 s(int (&a0)[10]) : a(a0) {}
10 main (int argc, char *argv[])
15 memset (la, 0, sizeof la);
17 #pragma omp target enter data map(to: v)
19 /* This mapping must use GOMP_MAP_ATTACH_DETACH not GOMP_MAP_ALWAYS_POINTER,
20 else the host reference v.a will be corrupted on copy-out. */
22 #pragma omp target map(v.a[0:10])
27 #pragma omp target exit data map(from: v)