TR-mbed 1.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
Eigen::TensorOpCost Class Reference

#include <TensorCostModel.h>

Public Member Functions

EIGEN_DEVICE_FUNC TensorOpCost ()
 
EIGEN_DEVICE_FUNC TensorOpCost (double bytes_loaded, double bytes_stored, double compute_cycles)
 
EIGEN_DEVICE_FUNC TensorOpCost (double bytes_loaded, double bytes_stored, double compute_cycles, bool vectorized, double packet_size)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bytes_loaded () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bytes_stored () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double compute_cycles () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double total_cost (double load_cost, double store_cost, double compute_cost) const
 
EIGEN_DEVICE_FUNC void dropMemoryCost ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost cwiseMin (const TensorOpCost &rhs) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost cwiseMax (const TensorOpCost &rhs) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCostoperator+= (const TensorOpCost &rhs)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCostoperator*= (double rhs)
 

Static Public Member Functions

template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int MulCost ()
 
template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int AddCost ()
 
template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int DivCost ()
 
template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int ModCost ()
 
template<typename SrcType , typename TargetType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int CastCost ()
 

Friends

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator+ (TensorOpCost lhs, const TensorOpCost &rhs)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator* (TensorOpCost lhs, double rhs)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator* (double lhs, TensorOpCost rhs)
 
std::ostream & operator<< (std::ostream &os, const TensorOpCost &tc)
 

Constructor & Destructor Documentation

◆ TensorOpCost() [1/3]

EIGEN_DEVICE_FUNC Eigen::TensorOpCost::TensorOpCost ( )
inline

◆ TensorOpCost() [2/3]

EIGEN_DEVICE_FUNC Eigen::TensorOpCost::TensorOpCost ( double  bytes_loaded,
double  bytes_stored,
double  compute_cycles 
)
inline

◆ TensorOpCost() [3/3]

EIGEN_DEVICE_FUNC Eigen::TensorOpCost::TensorOpCost ( double  bytes_loaded,
double  bytes_stored,
double  compute_cycles,
bool  vectorized,
double  packet_size 
)
inline

Member Function Documentation

◆ AddCost()

template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int Eigen::TensorOpCost::AddCost ( )
inlinestatic

◆ bytes_loaded()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double Eigen::TensorOpCost::bytes_loaded ( ) const
inline

◆ bytes_stored()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double Eigen::TensorOpCost::bytes_stored ( ) const
inline

◆ CastCost()

template<typename SrcType , typename TargetType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int Eigen::TensorOpCost::CastCost ( )
inlinestatic

◆ compute_cycles()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double Eigen::TensorOpCost::compute_cycles ( ) const
inline

◆ cwiseMax()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorOpCost::cwiseMax ( const TensorOpCost rhs) const
inline

◆ cwiseMin()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorOpCost::cwiseMin ( const TensorOpCost rhs) const
inline

◆ DivCost()

template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int Eigen::TensorOpCost::DivCost ( )
inlinestatic

◆ dropMemoryCost()

EIGEN_DEVICE_FUNC void Eigen::TensorOpCost::dropMemoryCost ( )
inline

◆ ModCost()

template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int Eigen::TensorOpCost::ModCost ( )
inlinestatic

◆ MulCost()

template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int Eigen::TensorOpCost::MulCost ( )
inlinestatic

◆ operator*=()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost & Eigen::TensorOpCost::operator*= ( double  rhs)
inline

◆ operator+=()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost & Eigen::TensorOpCost::operator+= ( const TensorOpCost rhs)
inline

◆ total_cost()

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double Eigen::TensorOpCost::total_cost ( double  load_cost,
double  store_cost,
double  compute_cost 
) const
inline

Friends And Related Symbol Documentation

◆ operator* [1/2]

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator* ( double  lhs,
TensorOpCost  rhs 
)
friend

◆ operator* [2/2]

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator* ( TensorOpCost  lhs,
double  rhs 
)
friend

◆ operator+

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator+ ( TensorOpCost  lhs,
const TensorOpCost rhs 
)
friend

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const TensorOpCost tc 
)
friend

The documentation for this class was generated from the following file: