message: updating AvgPoolMeanReducer packet access code to correctly account for the ROCm platform
diff: @@ -274,7 +274,7 @@ namespace internal {
  template <typename T>
  struct AvgPoolMeanReducer {
  -#if (EIGEN_ARCH_i386 || EIGEN_ARCH_x86_64) && !defined(__CUDACC__)
  +#if (EIGEN_ARCH_i386 || EIGEN_ARCH_x86_64) && !defined(__CUDACC__) && !defined(__HIPCC__)
  // We only support packet access for floats.
  static const bool PacketAccess = internal::is_same<T, float>::value;
  #else
  @@ -303,7 +303,7 @@ struct AvgPoolMeanReducer {
  return accum / T(scalarCount_);
  }
  -#if (EIGEN_ARCH_i386 || EIGEN_ARCH_x86_64) && !defined(__CUDACC__)
  +#if (EIGEN_ARCH_i386 || EIGEN_ARCH_x86_64) && !defined(__CUDACC__) && !defined(__HIPCC__)
  #ifdef EIGEN_VECTORIZE_AVX512
  #define pequal(a, b) \
  _mm512_castsi512_ps( \
  @@ -370,7 +370,7 @@ template <typename Device>
  struct reducer_traits<AvgPoolMeanReducer<float>, Device> {
  enum {
  Cost = 1,
  -#if (EIGEN_ARCH_i386 || EIGEN_ARCH_x86_64) && !defined(__CUDACC__)
  +#if (EIGEN_ARCH_i386 || EIGEN_ARCH_x86_64) && !defined(__CUDACC__) && !defined(__HIPCC__)
  // We only support packet access for floats.
  PacketAccess = true,
  #else
  