Revert "avoid selecting half-packets when unnecessary"

This reverts commit 5ca10480b0
This commit is contained in:
Rasmus Munk Larsen 2020-02-25 01:07:43 +00:00
parent 235bcfe08d
commit 52a2fbbb00

View File

@ -195,7 +195,7 @@ template<typename T> struct unpacket_traits
}; };
template<int Size, typename PacketType, template<int Size, typename PacketType,
bool Stop = Size==Dynamic || Size >= unpacket_traits<PacketType>::size || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value> bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
struct find_best_packet_helper; struct find_best_packet_helper;
template< int Size, typename PacketType> template< int Size, typename PacketType>