From 46fa4c713fa2fdb472e287cad95b5933135e6503 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 5 May 2008 10:23:29 +0000 Subject: * Started support for unaligned vectorization. * Introduce a new highly optimized matrix-matrix product for large matrices. The code is still highly experimental and it is activated only if you define EIGEN_WIP_PRODUCT at compile time. Currently the third dimension of the product must be a factor of the packet size (x4 for floats) and the right handed side matrix must be column major. Moreover, currently c = a*b; actually computes c += a*b !! Therefore, the code is provided for experimentation purpose only ! These limitations will be fixed soon or later to become the default product implementation. --- Eigen/src/Core/CwiseUnaryOp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Eigen/src/Core/CwiseUnaryOp.h') diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index 76c6ed818..438417829 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -82,9 +82,10 @@ class CwiseUnaryOp : ei_no_assignment_operator, return m_functor(m_matrix.coeff(row, col)); } + template PacketScalar _packetCoeff(int row, int col) const { - return m_functor.packetOp(m_matrix.packetCoeff(row, col)); + return m_functor.packetOp(m_matrix.template packetCoeff(row, col)); } protected: -- cgit v1.2.3