diff options
author | Guoqiang QI <425418567@qq.com> | 2020-09-15 17:10:35 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-09-15 17:10:35 +0000 |
commit | 3012e755e92d3b3f01f8e7753b5e71cbeaaa40df (patch) | |
tree | d643ea9b9a1a388ee60b7082906f24e7506f92b6 /Eigen/src/Core/arch/NEON/MathFunctions.h | |
parent | e4fb0ddf78b06bb34c2a33d2e0507ecb0420a2c9 (diff) |
Add plog ops support packet2d for NEON
Diffstat (limited to 'Eigen/src/Core/arch/NEON/MathFunctions.h')
-rw-r--r-- | Eigen/src/Core/arch/NEON/MathFunctions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/arch/NEON/MathFunctions.h b/Eigen/src/Core/arch/NEON/MathFunctions.h index 8bea0ac3c..28167b904 100644 --- a/Eigen/src/Core/arch/NEON/MathFunctions.h +++ b/Eigen/src/Core/arch/NEON/MathFunctions.h @@ -51,6 +51,9 @@ BF16_PACKET_FUNCTION(Packet4f, Packet4bf, ptanh) template<> EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet2d pexp<Packet2d>(const Packet2d& x) { return pexp_double(x); } +template<> EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet2d plog<Packet2d>(const Packet2d& x) +{ return plog_double(x); } + #endif } // end namespace internal |