mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-17 20:03:17 +08:00
Gemv microoptimization
(cherry picked from commit d1b03fb5c91dcf0e48555bba8387201a0b1425d9)
This commit is contained in:
parent
7c6020e424
commit
23886fd7db
@ -359,9 +359,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