mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Update file GeneralMatrixVector.h
This commit is contained in:
parent
66b9f4ed5c
commit
283dec7f25
@ -362,9 +362,10 @@ 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 = cols & (-LhsPacketSize);
|
using UnsignedIndex = typename make_unsigned<Index>::type;
|
||||||
const Index halfColBlockEnd = cols & (-LhsPacketSizeHalf);
|
const Index fullColBlockEnd = LhsPacketSize * (UnsignedIndex(cols) / LhsPacketSize);
|
||||||
const Index quarterColBlockEnd = cols & (-LhsPacketSizeQuarter);
|
const Index halfColBlockEnd = LhsPacketSizeHalf * (UnsignedIndex(cols) / LhsPacketSizeHalf);
|
||||||
|
const Index quarterColBlockEnd = LhsPacketSizeQuarter * (UnsignedIndex(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