mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 12:19:12 +08:00
Update file GeneralMatrixVector.h
(cherry picked from commit 283dec7f257d463ff66d688cda17f78118eb3caa)
This commit is contained in:
parent
23886fd7db
commit
63291e34bf
@ -359,9 +359,10 @@ EIGEN_DEVICE_FUNC EIGEN_DONT_INLINE void general_matrix_vector_product<Index,Lhs
|
||||
HasQuarter = (int)ResPacketSizeQuarter < (int)ResPacketSizeHalf
|
||||
};
|
||||
|
||||
const Index fullColBlockEnd = cols & (-LhsPacketSize);
|
||||
const Index halfColBlockEnd = cols & (-LhsPacketSizeHalf);
|
||||
const Index quarterColBlockEnd = cols & (-LhsPacketSizeQuarter);
|
||||
using UnsignedIndex = typename make_unsigned<Index>::type;
|
||||
const Index fullColBlockEnd = LhsPacketSize * (UnsignedIndex(cols) / LhsPacketSize);
|
||||
const Index halfColBlockEnd = LhsPacketSizeHalf * (UnsignedIndex(cols) / LhsPacketSizeHalf);
|
||||
const Index quarterColBlockEnd = LhsPacketSizeQuarter * (UnsignedIndex(cols) / LhsPacketSizeQuarter);
|
||||
|
||||
Index i=0;
|
||||
for(; i<n8; i+=8)
|
||||
|
Loading…
x
Reference in New Issue
Block a user