1 // RUN: %libomptarget-compile-generic -O2 && %libomptarget-run-generic
2 // -O2 to run openmp-opt
3 // RUN: %libomptarget-compileopt-generic -O2 && %libomptarget-run-generic
11 const long exp
= ng
* nxyz
;
13 #pragma omp target map(tofrom : aa)
14 for (int gid
= 0; gid
< nxyz
; gid
++) {
15 #pragma omp parallel for
16 for (unsigned int g
= 0; g
< ng
; g
++) {