mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Remove dead code.
This commit is contained in:
parent
6850eab33b
commit
cfa21f8123
@ -71,14 +71,8 @@ struct general_matrix_matrix_triangular_product<Index,LhsScalar,LhsStorageOrder,
|
|||||||
RhsMapper rhs(_rhs,rhsStride);
|
RhsMapper rhs(_rhs,rhsStride);
|
||||||
ResMapper res(_res, resStride);
|
ResMapper res(_res, resStride);
|
||||||
|
|
||||||
Index kc = depth; // cache block size along the K direction
|
Index kc = blocking.kc();
|
||||||
Index mc = size; // cache block size along the M direction
|
Index mc = (std::min)(size,blocking.mc());
|
||||||
Index nc = size; // cache block size along the N direction
|
|
||||||
computeProductBlockingSizes<LhsScalar,RhsScalar>(kc, mc, nc, 1);
|
|
||||||
|
|
||||||
kc = blocking.kc();
|
|
||||||
mc = (std::min)(size,blocking.mc());
|
|
||||||
nc = (std::min)(size,blocking.nc());
|
|
||||||
|
|
||||||
// !!! mc must be a multiple of nr:
|
// !!! mc must be a multiple of nr:
|
||||||
if(mc > Traits::nr)
|
if(mc > Traits::nr)
|
||||||
|
@ -344,10 +344,8 @@ EIGEN_DONT_INLINE void product_selfadjoint_matrix<Scalar,Index,LhsStorageOrder,t
|
|||||||
Index mc = (std::min)(rows,blocking.mc()); // cache block size along the M direction
|
Index mc = (std::min)(rows,blocking.mc()); // cache block size along the M direction
|
||||||
// kc must be smaller than mc
|
// kc must be smaller than mc
|
||||||
kc = (std::min)(kc,mc);
|
kc = (std::min)(kc,mc);
|
||||||
|
|
||||||
std::size_t sizeA = kc*mc;
|
std::size_t sizeA = kc*mc;
|
||||||
std::size_t sizeB = kc*cols;
|
std::size_t sizeB = kc*cols;
|
||||||
|
|
||||||
ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA());
|
ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA());
|
||||||
ei_declare_aligned_stack_constructed_variable(Scalar, blockB, sizeB, blocking.blockB());
|
ei_declare_aligned_stack_constructed_variable(Scalar, blockB, sizeB, blocking.blockB());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user