Enable the vectorization of adds and mults of fp16

This commit is contained in:
Benoit Steiner 2016-06-07 18:22:18 -07:00
parent d6d39c7ddb
commit 8fd57a97f2

View File

@ -28,6 +28,8 @@ template<> struct packet_traits<Eigen::half> : default_packet_traits
AlignedOnScalar = 1,
size=2,
HasHalfPacket = 0,
HasAdd = 1,
HasMul = 1,
HasDiv = 1,
HasSqrt = 1,
HasRsqrt = 1,