diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-09-24 16:39:25 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-09-24 16:39:25 -0700 |
commit | 591a554c68ae016c401fb5cef0c17ef73d12aa0b (patch) | |
tree | 682f634920b3281cf85547c3156758746adea913 /unsupported/Eigen | |
parent | 6de5ed08d88239080b9381f60f75e5abea731d75 (diff) |
Add TODO to cleanup FMA cost modelling.
Diffstat (limited to 'unsupported/Eigen')
-rw-r--r-- | unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h index 7447f4bfa..abefe99b7 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h @@ -259,6 +259,7 @@ struct functor_traits<scalar_erf_op<Scalar> > { Cost = (PacketAccess #ifdef EIGEN_VECTORIZE_FMA + // TODO(rmlarsen): Move the FMA cost model to a central location. // Haswell can issue 2 add/mul/madd per cycle. // 10 pmadd, 2 pmul, 1 div, 2 other ? (2 * NumTraits<Scalar>::AddCost + |