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