message: [occa] GET_OCCA macros
diff: @@ -87,6 +87,12 @@ void wrap(const size_t N, DBODY &&d_body, HBODY &&h_body)
  #define GET_CONST_ADRS(v) const double *d_##v = (const double*) mm::Get().Adrs(v)
  #define GET_CONST_ADRS_T(v,T) const T *d_##v = (const T*) mm::Get().Adrs(v)
  +// *****************************************************************************
  +#define GET_OCCA const bool occa = config::Get().occa();
  +#define GET_OCCA_MEMORY(v) double *o_##v = (double*) mm::Get().Memory(v)
  +#define GET_OCCA_CONST_MEMORY(v) \
  + const double *o_##v = (const double*) mm::Get().Memory(v)
  +
  // *****************************************************************************
  #define MFEM_FILE_AND_LINE __FILE__ and __LINE__
  #define MFEM_CPU_CANNOT_PASS {assert(MFEM_FILE_AND_LINE and false);}
  