Home
last modified time | relevance | path

Searched refs:vertexx (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/openmp/libomptarget/test/mapping/
Dptr_and_obj_motion.c15 void init(double vertexx[]) { in init() argument
16 #pragma omp target map(vertexx[0:100]) in init()
18 printf("In init: %lf, expected 100.0\n", vertexx[77]); in init()
19 vertexx[77] = 77.0; in init()
32 double vertexx[100]; in main() local
33 vertexx[77] = 100.0; in main()
36 dv.dataptr = &vertexx[0]; in main()
38 #pragma omp target enter data map(to:vertexx[0:100]) in main()
40 init(vertexx); in main()
43 #pragma omp target exit data map(from:vertexx[0:100]) in main()
[all …]