message: Use #ifdef MFEM_DEVICE_COMPILE in bilininteg_hcurl.cpp.
diff: @@ -1691,6 +1691,7 @@ static void SmemPACurlCurlApply3D(const int D1D,
  const Vector &x,
  Vector &y)
  {
  +#ifdef MFEM_DEVICE_COMPILE
  MFEM_VERIFY(D1D <= MAX_D1D, "Error: D1D > MAX_D1D");
  MFEM_VERIFY(Q1D <= MAX_Q1D, "Error: Q1D > MAX_Q1D");
  // Using (\nabla\times u) F = 1/det(dF) dF \hat{\nabla}\times\hat{u} (p. 78 of Monk), we get
  @@ -1988,6 +1989,9 @@ static void SmemPACurlCurlApply3D(const int D1D,
  }
  } // qz
  }); // end of element loop
  +#else
  + MFEM_ABORT("This kernel should only be used on GPU.");
  +#endif
  }
  void CurlCurlIntegrator::AddMultPA(const Vector &x, Vector &y) const
  @@ -3308,6 +3312,7 @@ static void SmemPAHcurlL2Apply3D(const int D1D,
  const Vector &x,
  Vector &y)
  {
  +#ifdef MFEM_DEVICE_COMPILE
  MFEM_VERIFY(D1D <= MAX_D1D, "Error: D1D > MAX_D1D");
  MFEM_VERIFY(Q1D <= MAX_Q1D, "Error: Q1D > MAX_Q1D");
  @@ -3580,6 +3585,9 @@ static void SmemPAHcurlL2Apply3D(const int D1D,
  }
  } // qz
  }); // end of element loop
  +#else
  + MFEM_ABORT("This kernel should only be used on GPU.");
  +#endif
  }
  // Apply to x corresponding to DOF's in H(curl) (trial), whose curl is
  