Re: [eigen] Parallel matrix multiplication causes heap allocation |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Hi Rene, I have skimed recently through the matrix multiplication code. In order to be cache friendly, Eigen performs many smaller matrix multiplication and it turns out that those smaller matrices are copied and rearranged in memory to speed up the multiplication process. So malloc is expected to happen in matrix multiplication. As far as I know, other blas libraries such as OpenBLAS don't perform such copies. Is there any way to get rid of them in eigen? François
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |