mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-12 09:23:12 +08:00
Enable the vectorization of adds and mults of fp16
This commit is contained in:
parent
d6d39c7ddb
commit
8fd57a97f2
@ -28,6 +28,8 @@ template<> struct packet_traits<Eigen::half> : default_packet_traits
|
|||||||
AlignedOnScalar = 1,
|
AlignedOnScalar = 1,
|
||||||
size=2,
|
size=2,
|
||||||
HasHalfPacket = 0,
|
HasHalfPacket = 0,
|
||||||
|
HasAdd = 1,
|
||||||
|
HasMul = 1,
|
||||||
HasDiv = 1,
|
HasDiv = 1,
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
HasRsqrt = 1,
|
HasRsqrt = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user