Optimized implementation of the hyperbolic tangent function for AVX

This commit is contained in:
Benoit Steiner
2016-02-10 08:48:05 -08:00
parent e6ee18d6b4
commit 2d523332b3
2 changed files with 54 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ template<> struct packet_traits<float> : default_packet_traits
HasExp = 1,
HasSqrt = 1,
HasRsqrt = 1,
HasTanh = EIGEN_FAST_MATH,
HasBlend = 1,
HasRound = 1,
HasFloor = 1,