diff options
author | Chip-Kerchner <chip.kerchner@ibm.com> | 2021-04-20 12:01:45 -0500 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2021-04-21 00:47:13 +0000 |
commit | 06c2760bd1139711eeffa30266ead43423891698 (patch) | |
tree | 299c7c36aef16d4cf3dbf00a157e2c937fcc81da /Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h | |
parent | 2b1dfd1ba0638e57a50d2f401412e0893064c354 (diff) |
Fix taking address of rvalue compiler issue with TensorFlow (plus other warnings).
Diffstat (limited to 'Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h')
-rw-r--r-- | Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h index 8edf79c4b..08855bd01 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h @@ -99,11 +99,9 @@ EIGEN_STRONG_INLINE void pgerMMA(__vector_quad* acc, const __vector_pair& a, con } template<typename LhsPacket, typename RhsPacket, bool NegativeAccumulate> -EIGEN_STRONG_INLINE void pgerMMA(__vector_quad* acc, const __vector_pair& a, const Packet4f& b) +EIGEN_STRONG_INLINE void pgerMMA(__vector_quad*, const __vector_pair&, const Packet4f&) { - EIGEN_UNUSED_VARIABLE(acc); // Just for compilation - EIGEN_UNUSED_VARIABLE(a); - EIGEN_UNUSED_VARIABLE(b); + // Just for compilation } template<typename Scalar, typename Packet, typename RhsPacket, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal> @@ -150,11 +148,9 @@ EIGEN_STRONG_INLINE void ploadRhsMMA<double, __vector_pair>(const double* rhs, _ } template<> -EIGEN_STRONG_INLINE void ploadRhsMMA(const float* rhs, __vector_pair& rhsV) +EIGEN_STRONG_INLINE void ploadRhsMMA(const float*, __vector_pair&) { // Just for compilation - EIGEN_UNUSED_VARIABLE(rhs); - EIGEN_UNUSED_VARIABLE(rhsV); } // PEEL_MMA loop factor. |