Silenced several compilation warnings

This commit is contained in:
Benoit Steiner 2017-02-01 15:50:58 -08:00
parent 2db75c07a6
commit 442e9cbb30

View File

@ -64,9 +64,9 @@ void pack_simple(Scalar * dst, const Scalar * src, Index cols, Index rows, Index
template<typename LhsScalar, typename RhsScalar, typename Scalar> template<typename LhsScalar, typename RhsScalar, typename Scalar>
struct libxsmm_wrapper { struct libxsmm_wrapper {
libxsmm_wrapper() {} libxsmm_wrapper() {}
libxsmm_wrapper(int flags, int m, int n, int k, int lda, int ldb, int ldc, float alpha, float beta, int prefetch) {} libxsmm_wrapper(int, int, int, int, int, int, int, float, float, int) {}
void operator()(const LhsScalar* a, const RhsScalar* b, Scalar* c) {} void operator()(const LhsScalar*, const RhsScalar*, Scalar*) {}
void operator()(const LhsScalar* a, const RhsScalar* b, Scalar* c, const LhsScalar* ap, const RhsScalar* bp, const Scalar* cp) {} void operator()(const LhsScalar*, const RhsScalar*, Scalar*, const LhsScalar*, const RhsScalar*, const Scalar*) {}
}; };
template<> template<>
@ -682,7 +682,9 @@ protected:
} }
m_can_use_xsmm = true; m_can_use_xsmm = true;
#endif #else
EIGEN_UNUSED_VARIABLE(eval_op_indices);
#endif
} }
#if defined(EIGEN_VECTORIZE_AVX) && defined(EIGEN_USE_LIBXSMM) #if defined(EIGEN_VECTORIZE_AVX) && defined(EIGEN_USE_LIBXSMM)