Re: [eigen] Eigen "views"

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Tue, Aug 16, 2011 at 5:03 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> ...or rather, just the fact that each packet load would have to do 4
> (or 2) random memory accesses.

Exactly... that's why I think it would be more efficient to first
"lose" time arranging all the sparse coefficients together into a
temporary Matrix<>  from the new class MyViewExpression<>, and then
operating with that dense matrix that would vectorize as usual.

But probably all is a matter of benchmarking and seeing the pros/cons
of using the temporary dense matrix for each situation.

JL



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/