diff --git a/Eigen/src/Core/TriangularMatrix.h b/Eigen/src/Core/TriangularMatrix.h index cd1d4fd64..6e4e5b2cc 100644 --- a/Eigen/src/Core/TriangularMatrix.h +++ b/Eigen/src/Core/TriangularMatrix.h @@ -155,9 +155,10 @@ template class TriangularView typedef TriangularBase Base; typedef typename ei_traits::Scalar Scalar; - protected: typedef _MatrixType MatrixType; typedef typename MatrixType::PlainObject DenseMatrixType; + + protected: typedef typename MatrixType::Nested MatrixTypeNested; typedef typename ei_cleantype::type _MatrixTypeNested; typedef typename ei_cleantype::type MatrixConjugateReturnType; diff --git a/bench/benchBlasGemm.cpp b/bench/benchBlasGemm.cpp index de7359f5e..246eed3e2 100644 --- a/bench/benchBlasGemm.cpp +++ b/bench/benchBlasGemm.cpp @@ -45,6 +45,9 @@ int main(int argc, char *argv[]) } #endif + Eigen::setCpuCacheSizes(262144, 6000000); + + int nbtries=1, nbloops=1, M, N, K; if (argc==2) @@ -153,6 +156,10 @@ int main(int argc, char *argv[]) std::cout << M << " : " << timer.value() << " ; " << 1e-3*floor(1e-6*nbmad/timer.value()) << "\n"; } + std::cout << "l1: " << Eigen::l1CacheSize() << std::endl; + std::cout << "l2: " << Eigen::l2CacheSize() << std::endl; + + return 0; }