diff options
-rw-r--r-- | bench/benchBlasGemm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/benchBlasGemm.cpp b/bench/benchBlasGemm.cpp index 25458f823..a4a9e780a 100644 --- a/bench/benchBlasGemm.cpp +++ b/bench/benchBlasGemm.cpp @@ -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)) { \ |