Re: [eigen] Tiny matrix in Eigen2 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
> On Thu, Sep 17, 2009 at 2:03 PM, WANG Xuewen <xuewen.wang@xxxxxxxxx> wrote:
> > Hi,
> >
-- snip --
> >
> > typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic,
> > Eigen::RowMajor | Eigen::DontAlign,
> > NMaxTinyMatrixDimension, NMaxTinyMatrixDimension>
> > TinyRMatrix;
> >
You should definitely not use Eigen::DontAlign as this disables alignment in memory allocation which is necessary for SSE operations. Try without and use gcc switches -mfpmath=sse -O3 if you use gcc.
Markus
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de