Commit 1d2be181 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Enclose pragma omp teams under target offload compilation flag

parent e6a37c03
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2015,7 +2015,9 @@ void raba(
#ifdef USE_NVTX
  nvtxRangePush("raba outer loop 2");
#endif
#ifdef USE_TARGET_OFFLOAD
#pragma omp teams distribute parallel for
#endif
  for (int ipo = 0; ipo < 2; ipo++) {
    int jpo = 1 - ipo;
    ctqce[ipo][0] = cc0;