Add vectorized implementation of tanh<double>

This commit is contained in:
Rasmus Munk Larsen
2024-08-21 02:29:45 +00:00
parent cc240eea2f
commit 32d95bb097
8 changed files with 109 additions and 14 deletions

View File

@@ -5128,7 +5128,7 @@ struct packet_traits<double> : default_packet_traits {
HasCos = EIGEN_FAST_MATH,
HasSqrt = 1,
HasRsqrt = 1,
HasTanh = 0,
HasTanh = EIGEN_FAST_MATH,
HasErf = 0
};
};