|
template<typename ArgType > |
static int | AddCost () |
|
template<typename SrcType , typename TargetType > |
static int | CastCost () |
|
template<typename ArgType > |
static int | DivCost () |
|
template<typename ArgType > |
static int | ModCost () |
|
template<typename ArgType > |
static int | MulCost () |
|
Definition at line 27 of file TensorCostModel.h.
◆ TensorOpCost() [1/3]
Eigen::TensorOpCost::TensorOpCost |
( |
| ) |
|
|
inline |
◆ TensorOpCost() [2/3]
Eigen::TensorOpCost::TensorOpCost |
( |
double |
bytes_loaded, |
|
|
double |
bytes_stored, |
|
|
double |
compute_cycles |
|
) |
| |
|
inline |
Definition at line 59 of file TensorCostModel.h.
double bytes_stored() const
double bytes_loaded() const
double compute_cycles() const
◆ TensorOpCost() [3/3]
Eigen::TensorOpCost::TensorOpCost |
( |
double |
bytes_loaded, |
|
|
double |
bytes_stored, |
|
|
double |
compute_cycles, |
|
|
bool |
vectorized, |
|
|
double |
packet_size |
|
) |
| |
|
inline |
Definition at line 65 of file TensorCostModel.h.
EIGEN_ALWAYS_INLINE bool() isfinite(const Eigen::bfloat16 &h)
◆ AddCost()
template<typename ArgType >
static int Eigen::TensorOpCost::AddCost |
( |
| ) |
|
|
inlinestatic |
Definition at line 38 of file TensorCostModel.h.
39 return internal::functor_traits<internal::scalar_sum_op<ArgType> >::Cost;
◆ bytes_loaded()
double Eigen::TensorOpCost::bytes_loaded |
( |
| ) |
const |
|
inline |
◆ bytes_stored()
double Eigen::TensorOpCost::bytes_stored |
( |
| ) |
const |
|
inline |
◆ CastCost()
template<typename SrcType , typename TargetType >
static int Eigen::TensorOpCost::CastCost |
( |
| ) |
|
|
inlinestatic |
Definition at line 51 of file TensorCostModel.h.
52 return internal::functor_traits<
53 internal::scalar_cast_op<SrcType, TargetType> >::Cost;
◆ compute_cycles()
double Eigen::TensorOpCost::compute_cycles |
( |
| ) |
const |
|
inline |
◆ cwiseMax()
Definition at line 108 of file TensorCostModel.h.
EIGEN_ALWAYS_INLINE T maxi(const T &x, const T &y)
◆ cwiseMin()
Definition at line 99 of file TensorCostModel.h.
EIGEN_ALWAYS_INLINE T mini(const T &x, const T &y)
◆ DivCost()
template<typename ArgType >
static int Eigen::TensorOpCost::DivCost |
( |
| ) |
|
|
inlinestatic |
Definition at line 42 of file TensorCostModel.h.
43 return internal::functor_traits<
44 internal::scalar_quotient_op<ArgType, ArgType> >::Cost;
◆ dropMemoryCost()
void Eigen::TensorOpCost::dropMemoryCost |
( |
| ) |
|
|
inline |
◆ ModCost()
template<typename ArgType >
static int Eigen::TensorOpCost::ModCost |
( |
| ) |
|
|
inlinestatic |
Definition at line 47 of file TensorCostModel.h.
48 return internal::functor_traits<internal::scalar_mod_op<ArgType> >::Cost;
◆ MulCost()
template<typename ArgType >
static int Eigen::TensorOpCost::MulCost |
( |
| ) |
|
|
inlinestatic |
Definition at line 33 of file TensorCostModel.h.
34 return internal::functor_traits<
35 internal::scalar_product_op<ArgType, ArgType> >::Cost;
◆ operator*=()
◆ operator+=()
◆ total_cost()
double Eigen::TensorOpCost::total_cost |
( |
double |
load_cost, |
|
|
double |
store_cost, |
|
|
double |
compute_cost |
|
) |
| const |
|
inline |
◆ 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: