diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-11-06 11:33:18 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-11-06 11:33:18 +0100 |
commit | 6647a588475c34e5460c64ebce3a958ada95b96b (patch) | |
tree | f42fe364b906b27142df78a6c5f7c74123f66f4c | |
parent | 771c0507fbeefaa6498eae58efd3835eae6c2dc9 (diff) |
update product bench
-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)) { \ |