Re: [eigen] slow sparse dense product

[ Thread Index | Date Index | More Archives ]


sorry for not replying earlier. This performance issue is now fixed in
the devel branch (changeset 4544:0b51d2327999). When the right hand
side is column major we now systematically performs sparse *
dense_vector products rather than looping over the row in the most
inner loop. This is indeed always faster even though this means
looping over the sparse matrix multiple times.

thanks for your report.


On Wed, Feb 22, 2012 at 10:30 PM, Sebastian Birk
<birk@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
> again I encountered an unexpected slow product of a sparse matrix A and
> a dense matrix X. As can be seen in the attached file, computing A*X or
> A^H*X is about 50% slower for X being col-major than X being row-major
> and even computing A*c for all columns c of X. Obviously, the col-major
> storage order is non-optimal, but 50% slower seems to be too much.
> Sebastian

Mail converted by MHonArc 2.6.19+