From 10c77b0ff44d0b9cb0b252cfa0ccaaa39d3c5da4 Mon Sep 17 00:00:00 2001 From: Chip-Kerchner Date: Mon, 22 Feb 2021 15:01:47 -0600 Subject: [PATCH] Fix compilation errors with later versions of GCC and use of MMA. --- Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h index a67dbccf3..a91ec3204 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h @@ -202,6 +202,18 @@ EIGEN_STRONG_INLINE void pgerMMA(__vector_quad *a __builtin_mma_xvf64gernp(acc, a, (__vector unsigned char)b); } +template<> +EIGEN_STRONG_INLINE void pgerMMA(__vector_quad *acc, const __vector_pair& a, const Packet4f& b) +{ + // Just for compilation +} + +template<> +EIGEN_STRONG_INLINE void pgerMMA(__vector_quad *acc, const __vector_pair& a, const Packet4f& b) +{ + // Just for compilation +} + // This is necessary because ploadRhs for double returns a pair of vectors when MMA is enabled. template EIGEN_STRONG_INLINE void ploadRhsMMA(const Scalar *rhs, Packet &rhsV)