mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 12:19:12 +08:00
fox blcok size computation for fixed size objects
This commit is contained in:
parent
e313826890
commit
01553c419e
@ -297,8 +297,8 @@ class ei_gemm_blocking_space<StorageOrder,_LhsScalar,_RhsScalar,MaxRows, MaxCols
|
|||||||
typedef typename ei_meta_if<Transpose,_LhsScalar,_RhsScalar>::ret RhsScalar;
|
typedef typename ei_meta_if<Transpose,_LhsScalar,_RhsScalar>::ret RhsScalar;
|
||||||
typedef ei_product_blocking_traits<RhsScalar> Blocking;
|
typedef ei_product_blocking_traits<RhsScalar> Blocking;
|
||||||
enum {
|
enum {
|
||||||
SizeA = ActualCols * MaxDepth,
|
SizeA = ActualRows * MaxDepth,
|
||||||
SizeB = ActualRows * MaxDepth,
|
SizeB = ActualCols * MaxDepth,
|
||||||
SizeW = MaxDepth * Blocking::nr * ei_packet_traits<RhsScalar>::size
|
SizeW = MaxDepth * Blocking::nr * ei_packet_traits<RhsScalar>::size
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -308,7 +308,7 @@ class ei_gemm_blocking_space<StorageOrder,_LhsScalar,_RhsScalar,MaxRows, MaxCols
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ei_gemm_blocking_space(DenseIndex rows, DenseIndex cols, DenseIndex depth)
|
ei_gemm_blocking_space(DenseIndex /*rows*/, DenseIndex /*cols*/, DenseIndex /*depth*/)
|
||||||
{
|
{
|
||||||
this->m_mc = ActualRows;
|
this->m_mc = ActualRows;
|
||||||
this->m_nc = ActualCols;
|
this->m_nc = ActualCols;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user