mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 04:09:10 +08:00
GEBP: cleanup logic to choose between a 4 packets of 1 packet
This commit is contained in:
parent
70e133333d
commit
e118ce86fd
@ -350,9 +350,9 @@ inline void computeProductBlockingSizes(Index& k, Index& m, Index& n, Index num_
|
||||
template <typename RhsPacket, typename RhsPacketx4, int registers_taken>
|
||||
struct RhsPanelHelper {
|
||||
private:
|
||||
typedef typename conditional<(registers_taken < 15), RhsPacket, RhsPacketx4>::type inter_type;
|
||||
static const int remaining_registers = EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS - registers_taken;
|
||||
public:
|
||||
typedef typename conditional<(EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS < 32), RhsPacket, inter_type>::type type;
|
||||
typedef typename conditional<remaining_registers>=4, RhsPacketx4, RhsPacket>::type type;
|
||||
};
|
||||
|
||||
template <typename Packet>
|
||||
|
Loading…
x
Reference in New Issue
Block a user