mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 05:05:58 +08:00
Fix #1874: workaround MSVC 2017 compilation issue.
This commit is contained in:
parent
9b411757ab
commit
8ce9630ddb
@ -2682,12 +2682,7 @@ struct gemm_pack_rhs<Scalar, Index, DataMapper, nr, RowMajor, Conjugate, PanelMo
|
|||||||
QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
|
QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
|
||||||
HasHalf = (int)HalfPacketSize < (int)PacketSize,
|
HasHalf = (int)HalfPacketSize < (int)PacketSize,
|
||||||
HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize };
|
HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize };
|
||||||
EIGEN_DONT_INLINE void operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
|
EIGEN_DONT_INLINE void operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0)
|
||||||
};
|
|
||||||
|
|
||||||
template<typename Scalar, typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
|
|
||||||
EIGEN_DONT_INLINE void gemm_pack_rhs<Scalar, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
|
|
||||||
::operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
|
|
||||||
{
|
{
|
||||||
EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS ROWMAJOR");
|
EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS ROWMAJOR");
|
||||||
EIGEN_UNUSED_VARIABLE(stride);
|
EIGEN_UNUSED_VARIABLE(stride);
|
||||||
@ -2776,6 +2771,7 @@ EIGEN_DONT_INLINE void gemm_pack_rhs<Scalar, Index, DataMapper, nr, RowMajor, Co
|
|||||||
if(PanelMode) count += stride-offset-depth;
|
if(PanelMode) count += stride-offset-depth;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
} // end namespace internal
|
} // end namespace internal
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user