Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
Eigen::TensorOpCost Class Reference

#include <TensorCostModel.h>

Public Member Functions

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 TensorOpCost cwiseMax (const TensorOpCost &rhs) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost cwiseMin (const TensorOpCost &rhs) const
 
EIGEN_DEVICE_FUNC void dropMemoryCost ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCostoperator*= (double rhs)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCostoperator+= (const TensorOpCost &rhs)
 
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 total_cost (double load_cost, double store_cost, double compute_cost) const
 

Static Public Member Functions

template<typename ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int AddCost ()
 
template<typename SrcType , typename TargetType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int CastCost ()
 
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 ArgType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int MulCost ()
 

Private Attributes

double bytes_loaded_
 
double bytes_stored_
 
double compute_cycles_
 

Friends

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)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE friend TensorOpCost operator+ (TensorOpCost lhs, const TensorOpCost &rhs)
 
std::ostream & operator<< (std::ostream &os, const TensorOpCost &tc)
 

Detailed Description

Definition at line 25 of file TensorCostModel.h.

Constructor & Destructor Documentation

◆ TensorOpCost() [1/3]

EIGEN_DEVICE_FUNC Eigen::TensorOpCost::TensorOpCost ( )
inline

Definition at line 55 of file TensorCostModel.h.

◆ TensorOpCost() [2/3]

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

Definition at line 57 of file TensorCostModel.h.

◆ TensorOpCost() [3/3]

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

Definition at line 63 of file TensorCostModel.h.

Member Function Documentation

◆ AddCost()

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

Definition at line 36 of file TensorCostModel.h.

◆ bytes_loaded()

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

Definition at line 74 of file TensorCostModel.h.

◆ bytes_stored()

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

Definition at line 77 of file TensorCostModel.h.

◆ CastCost()

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

Definition at line 49 of file TensorCostModel.h.

◆ compute_cycles()

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

Definition at line 80 of file TensorCostModel.h.

◆ cwiseMax()

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

Definition at line 106 of file TensorCostModel.h.

◆ cwiseMin()

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

Definition at line 97 of file TensorCostModel.h.

◆ DivCost()

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

Definition at line 40 of file TensorCostModel.h.

◆ dropMemoryCost()

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

Definition at line 91 of file TensorCostModel.h.

◆ ModCost()

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

Definition at line 45 of file TensorCostModel.h.

◆ MulCost()

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

Definition at line 31 of file TensorCostModel.h.

◆ operator*=()

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

Definition at line 122 of file TensorCostModel.h.

◆ operator+=()

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

Definition at line 114 of file TensorCostModel.h.

◆ total_cost()

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

Definition at line 83 of file TensorCostModel.h.

Friends And Related Function Documentation

◆ operator* [1/2]

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

Definition at line 134 of file TensorCostModel.h.

◆ operator* [2/2]

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

Definition at line 139 of file TensorCostModel.h.

◆ operator+

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

Definition at line 129 of file TensorCostModel.h.

◆ operator<<

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

Definition at line 145 of file TensorCostModel.h.

Member Data Documentation

◆ bytes_loaded_

double Eigen::TensorOpCost::bytes_loaded_
private

Definition at line 152 of file TensorCostModel.h.

◆ bytes_stored_

double Eigen::TensorOpCost::bytes_stored_
private

Definition at line 153 of file TensorCostModel.h.

◆ compute_cycles_

double Eigen::TensorOpCost::compute_cycles_
private

Definition at line 154 of file TensorCostModel.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:44:12