mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-16 05:35:57 +08:00
backporting bugfix in SliceVectorization
This commit is contained in:
parent
f2829c1358
commit
e5b5ab53b8
@ -353,7 +353,7 @@ struct ei_assign_impl<Derived1, Derived2, SliceVectorization, NoUnrolling>
|
|||||||
const int outerSize = dst.outerSize();
|
const int outerSize = dst.outerSize();
|
||||||
const int alignedStep = (packetSize - dst.stride() % packetSize) & packetAlignedMask;
|
const int alignedStep = (packetSize - dst.stride() % packetSize) & packetAlignedMask;
|
||||||
int alignedStart = ei_assign_traits<Derived1,Derived2>::DstIsAligned ? 0
|
int alignedStart = ei_assign_traits<Derived1,Derived2>::DstIsAligned ? 0
|
||||||
: ei_alignmentOffset(&dst.coeffRef(0), innerSize);
|
: ei_alignmentOffset(&dst.coeffRef(0,0), innerSize);
|
||||||
|
|
||||||
for(int i = 0; i < outerSize; ++i)
|
for(int i = 0; i < outerSize; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user