* makes all product use the new API to set the blocking sizes

* fix an issue preventing multithreading (now Dynamic = -1 ...)
This commit is contained in:
Gael Guennebaud
2010-06-22 16:08:35 +02:00
parent fd9a9fa0ae
commit b4fe53f561
7 changed files with 45 additions and 26 deletions

View File

@@ -123,7 +123,7 @@ class ei_const_blas_data_mapper
Index m_stride;
};
// Defines various constant controlling level 3 blocking
// Defines various constant controlling register blocking for matrix-matrix algorithms.
template<typename Scalar>
struct ei_product_blocking_traits
{
@@ -136,13 +136,7 @@ struct ei_product_blocking_traits
nr = NumberOfRegisters/4,
// register block size along the M direction (currently, this one cannot be modified)
mr = 2 * PacketSize,
// max cache block size along the K direction
Max_kc = 4 * ei_meta_sqrt<EIGEN_TUNE_FOR_CPU_CACHE_SIZE/(64*sizeof(Scalar))>::ret,
// max cache block size along the M direction
Max_mc = 2*Max_kc
mr = 2 * PacketSize
};
};