update product bench

This commit is contained in:
Gael Guennebaud 2009-11-06 11:33:18 +01:00
parent 771c0507fb
commit 6647a58847

View File

@ -178,13 +178,13 @@ using namespace Eigen;
void bench_eigengemm(MyMatrix& mc, const MyMatrix& ma, const MyMatrix& mb, int nbloops)
{
for (uint j=0 ; j<nbloops ; ++j)
mc += (ma * mb).lazy();
mc.noalias() += ma * mb;
}
void bench_eigengemm_normal(MyMatrix& mc, const MyMatrix& ma, const MyMatrix& mb, int nbloops)
{
for (uint j=0 ; j<nbloops ; ++j)
mc += Product<MyMatrix,MyMatrix,NormalProduct>(ma,mb).lazy();
mc.noalias() += GeneralProduct<MyMatrix,MyMatrix,UnrolledProduct>(ma,mb);
}
#define MYVERIFY(A,M) if (!(A)) { \