Re: [eigen] Matrix-matrix multiplication is slow compared to openBlas |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Oleg ShirokobrodThanks,Are these results expected or they should be better?2. openBlas = 0.028888 s; Eigen = 0.077522 s1. openBlas = 0.028532 s; Eigen = 0.083807 sResults:Eigen 3.3.3MSVS 2015. O2, AVX options.Windows 10 ProI usedHi,I have compared calculation of two expressions with Eigen and Eigen with openBlas backend (EIGEN_USE_BLAS)
1. MatrixXd AY = A*Y; where MatrixXd A[2048x2048], MatrixXd Y[2048x110]
2. Y.noalias() = A.adjoint() * X; where MatrixXd X[2048x110]In Eq.1 I do not use noalias() because this is initialization of a declared matrix..Calculation with openBlas is approximately 3 times faster.
Intel(R) Core (TM) i5-3470 CPU @ 3.20 GHz; RAM 8 GB; 64 bit OS, x64 based processor;
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |