message: MFEM_USE_CUDA || MFEM_USE_HIP logic in dtensor.hpp
diff: @@ -25,7 +25,7 @@ public:
  MFEM_HOST_DEVICE
  static inline int result(const int* sizes, T first, Args... args)
  {
  -#ifndef MFEM_USE_CUDA
  +#if !(defined(MFEM_USE_CUDA) || defined(MFEM_USE_HIP))
  MFEM_ASSERT(first<sizes[N-1],"Trying to access out of boundary.");
  #endif
  return first + sizes[N - 1] * TensorInd < N + 1, Dim, Args... >
  @@ -41,7 +41,7 @@ public:
  MFEM_HOST_DEVICE
  static inline int result(const int* sizes, T first, Args... args)
  {
  -#ifndef MFEM_USE_CUDA
  +#if !(defined(MFEM_USE_CUDA) || defined(MFEM_USE_HIP))
  MFEM_ASSERT(first<sizes[Dim-1],"Trying to access out of boundary.");
  #endif
  return first;
  