#include <TensorCostModel.h>
◆ TensorOpCost() [1/3]
double bytes_loaded_
Definition: TensorCostModel.h:132
double bytes_stored_
Definition: TensorCostModel.h:133
double compute_cycles_
Definition: TensorCostModel.h:134
Referenced by cwiseMax(), and cwiseMin().
◆ TensorOpCost() [2/3]
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bytes_stored() const
Definition: TensorCostModel.h:69
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bytes_loaded() const
Definition: TensorCostModel.h:68
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double compute_cycles() const
Definition: TensorCostModel.h:70
◆ TensorOpCost() [3/3]
◆ AddCost()
template<typename ArgType >
39 return internal::functor_traits<internal::scalar_sum_op<ArgType> >::Cost;
◆ bytes_loaded()
◆ bytes_stored()
◆ CastCost()
template<typename SrcType , typename TargetType >
51 return internal::functor_traits<internal::scalar_cast_op<SrcType, TargetType> >::Cost;
◆ compute_cycles()
◆ cwiseMax()
EIGEN_DEVICE_FUNC TensorOpCost()
Definition: TensorCostModel.h:54
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(const T &x, const T &y)
Definition: MathFunctions.h:926
References bytes_loaded(), bytes_loaded_, bytes_stored(), bytes_stored_, compute_cycles(), compute_cycles_, Eigen::numext::maxi(), and TensorOpCost().
Referenced by Eigen::TensorEvaluator< const TensorSelectOp< IfArgType, ThenArgType, ElseArgType >, Device >::costPerCoeff().
◆ cwiseMin()
◆ DivCost()
template<typename ArgType >
43 return internal::functor_traits<internal::scalar_quotient_op<ArgType, ArgType> >::Cost;
◆ dropMemoryCost()
◆ ModCost()
template<typename ArgType >
47 return internal::functor_traits<internal::scalar_mod_op<ArgType> >::Cost;
◆ MulCost()
template<typename ArgType >
35 return internal::functor_traits<internal::scalar_product_op<ArgType, ArgType> >::Cost;
◆ operator*=()
◆ operator+=()
◆ total_cost()
◆ operator* [1/2]
◆ operator* [2/2]
◆ operator+
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const TensorOpCost & |
tc |
|
) |
| |
|
friend |
127 return os <<
"[bytes_loaded = " << tc.bytes_loaded() <<
", bytes_stored = " << tc.bytes_stored()
128 <<
", compute_cycles = " << tc.compute_cycles() <<
"]";
◆ bytes_loaded_
double Eigen::TensorOpCost::bytes_loaded_ |
|
private |
◆ bytes_stored_
double Eigen::TensorOpCost::bytes_stored_ |
|
private |
◆ compute_cycles_
double Eigen::TensorOpCost::compute_cycles_ |
|
private |
The documentation for this class was generated from the following file: