mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Fix #1874: it works on both MSVC 2017 and other platforms.
This commit is contained in:
parent
2d67af2d2b
commit
4e7046063b
@ -2679,9 +2679,9 @@ struct gemm_pack_rhs<Scalar, Index, DataMapper, nr, RowMajor, Conjugate, PanelMo
|
|||||||
typedef typename DataMapper::LinearMapper LinearMapper;
|
typedef typename DataMapper::LinearMapper LinearMapper;
|
||||||
enum { PacketSize = packet_traits<Scalar>::size,
|
enum { PacketSize = packet_traits<Scalar>::size,
|
||||||
HalfPacketSize = unpacket_traits<HalfPacket>::size,
|
HalfPacketSize = unpacket_traits<HalfPacket>::size,
|
||||||
QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
|
QuarterPacketSize = unpacket_traits<QuarterPacket>::size};
|
||||||
HasHalf = (int)HalfPacketSize < (int)PacketSize,
|
bool HasHalf = (int)HalfPacketSize < (int)PacketSize;
|
||||||
HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize };
|
bool 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)
|
||||||
{
|
{
|
||||||
EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS ROWMAJOR");
|
EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS ROWMAJOR");
|
||||||
|
Loading…
Reference in New Issue
Block a user