diff options
author | Chip-Kerchner <chip.kerchner@ibm.com> | 2021-02-22 15:01:47 -0600 |
---|---|---|
committer | Chip-Kerchner <chip.kerchner@ibm.com> | 2021-02-22 15:01:47 -0600 |
commit | 10c77b0ff44d0b9cb0b252cfa0ccaaa39d3c5da4 (patch) | |
tree | 121cdd73816f67dddc299bb373fb76e159dbea28 | |
parent | 73922b0174f84e78f486eb89de86dffc881acbcb (diff) |
Fix compilation errors with later versions of GCC and use of MMA.
-rw-r--r-- | Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h | 12 |
1 files changed, 12 insertions, 0 deletions
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<Packet2d, __vector_pair, true>(__vector_quad *a __builtin_mma_xvf64gernp(acc, a, (__vector unsigned char)b); } +template<> +EIGEN_STRONG_INLINE void pgerMMA<Packet4f, __vector_pair, false>(__vector_quad *acc, const __vector_pair& a, const Packet4f& b) +{ + // Just for compilation +} + +template<> +EIGEN_STRONG_INLINE void pgerMMA<Packet4f, __vector_pair, true>(__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<typename Scalar, typename Packet> EIGEN_STRONG_INLINE void ploadRhsMMA(const Scalar *rhs, Packet &rhsV) |