mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Gemv microoptimization
This commit is contained in:
parent
3cf6bb6f1c
commit
d1b03fb5c9
@ -362,9 +362,9 @@ EIGEN_DEVICE_FUNC EIGEN_DONT_INLINE void general_matrix_vector_product<Index,Lhs
|
|||||||
HasQuarter = (int)ResPacketSizeQuarter < (int)ResPacketSizeHalf
|
HasQuarter = (int)ResPacketSizeQuarter < (int)ResPacketSizeHalf
|
||||||
};
|
};
|
||||||
|
|
||||||
const Index fullColBlockEnd = LhsPacketSize * (cols / LhsPacketSize);
|
const Index fullColBlockEnd = cols & (-LhsPacketSize);
|
||||||
const Index halfColBlockEnd = LhsPacketSizeHalf * (cols / LhsPacketSizeHalf);
|
const Index halfColBlockEnd = cols & (-LhsPacketSizeHalf);
|
||||||
const Index quarterColBlockEnd = LhsPacketSizeQuarter * (cols / LhsPacketSizeQuarter);
|
const Index quarterColBlockEnd = cols & (-LhsPacketSizeQuarter);
|
||||||
|
|
||||||
Index i=0;
|
Index i=0;
|
||||||
for(; i<n8; i+=8)
|
for(; i<n8; i+=8)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user