InfiniOps
Operator Library for Accelerators
Loading...
Searching...
No Matches
infini::ops::special::ShiftedChebyshevPolynomialU Class Referenceabstract

#include <special_shifted_chebyshev_polynomial_u.h>

Inheritance diagram for infini::ops::special::ShiftedChebyshevPolynomialU:
infini::ops::Operator< ShiftedChebyshevPolynomialU > infini::ops::OperatorBase infini::ops::OperatorBase

Public Member Functions

 ShiftedChebyshevPolynomialU (const Tensor x, const Tensor n, Tensor out)
 
 ShiftedChebyshevPolynomialU (const Tensor x, const double n, Tensor out)
 
virtual void operator() (const Tensor x, const Tensor n, Tensor out) const =0
 
virtual void operator() (const Tensor x, const double n, Tensor out) const =0
 
- Public Member Functions inherited from infini::ops::Operator< ShiftedChebyshevPolynomialU >
void operator() (const Handle &handle, const Args &... args)
 
void operator() (const Args &... args) const
 
void operator() (const Handle &handle, const Args &... args)
 
void operator() (const Args &... args) const
 
- Public Member Functions inherited from infini::ops::OperatorBase
virtual ~OperatorBase ()=default
 
virtual std::size_t workspace_size_in_bytes () const
 
void set_handle (const Handle &handle)
 
void set_config (const Config &config)
 
void set_stream (void *stream)
 
void set_workspace (void *workspace)
 
void set_workspace_size_in_bytes (std::size_t workspace_size_in_bytes)
 
virtual ~OperatorBase ()=default
 
virtual std::size_t workspace_size_in_bytes () const
 
void set_handle (const Handle &handle)
 
void set_config (const Config &config)
 
void set_stream (void *stream)
 
void set_workspace (void *workspace)
 
void set_workspace_size_in_bytes (std::size_t workspace_size_in_bytes)
 

Protected Attributes

Tensor::Shape x_shape_
 
Tensor::Strides x_strides_
 
DataType x_type_
 
Tensor::Shape n_shape_
 
Tensor::Strides n_strides_
 
DataType n_type_
 
Tensor::Shape out_shape_
 
Tensor::Strides out_strides_
 
DataType out_type_
 
double n_ {}
 
int device_index_ {0}
 
- Protected Attributes inherited from infini::ops::OperatorBase
std::unique_ptr< Handle > handle_ptr_
 
std::unique_ptr< Config > config_ptr_
 
void * stream_ {nullptr}
 
void * workspace_ {nullptr}
 
std::size_t workspace_size_in_bytes_ {0}
 

Additional Inherited Members

- Static Public Member Functions inherited from infini::ops::Operator< ShiftedChebyshevPolynomialU >
static void clear_cache ()
 
static void clear_cache ()
 
static std::unique_ptr< Operator > Make (const Config &config, const Tensor tensor, Args &&... args)
 
static std::unique_ptr< Operator > Make (const Tensor tensor, Args &&... args)
 
static std::unique_ptr< Operator > Make (const Config &config, const std::vector< Tensor > tensors, Args &&... args)
 
static std::unique_ptr< Operator > Make (const std::vector< Tensor > tensors, Args &&... args)
 
static std::unique_ptr< Operator > Make (const Config &config, const Tensor tensor, Args &&... args)
 
static std::unique_ptr< Operator > Make (const Tensor tensor, Args &&... args)
 
static std::unique_ptr< Operator > Make (const Config &config, const std::vector< Tensor > tensors, Args &&... args)
 
static std::unique_ptr< Operator > Make (const std::vector< Tensor > tensors, Args &&... args)
 
static void Call (const Handle &handle, const Config &config, const Args &... args)
 
static void Call (const Tensor tensor, const Args &... args)
 
static auto Call (const TensorLike &tensor, const Args &... args)
 
static void Call (const Handle &handle, const Config &config, const Args &... args)
 
static void Call (const Tensor tensor, const Args &... args)
 
static auto Call (const TensorLike &tensor, const Args &... args)
 
static std::vector< std::size_t > active_implementation_indices (Device::Type dev_type)
 
static std::vector< std::size_t > active_implementation_indices (Device::Type dev_type)
 
- Static Protected Attributes inherited from infini::ops::Operator< ShiftedChebyshevPolynomialU >
static constexpr Device::Type device_type_
 
static constexpr std::size_t implementation_index_
 

Constructor & Destructor Documentation

◆ ShiftedChebyshevPolynomialU() [1/2]

infini::ops::special::ShiftedChebyshevPolynomialU::ShiftedChebyshevPolynomialU ( const Tensor  x,
const Tensor  n,
Tensor  out 
)
inline

◆ ShiftedChebyshevPolynomialU() [2/2]

infini::ops::special::ShiftedChebyshevPolynomialU::ShiftedChebyshevPolynomialU ( const Tensor  x,
const double  n,
Tensor  out 
)
inline

Member Function Documentation

◆ operator()() [1/2]

virtual void infini::ops::special::ShiftedChebyshevPolynomialU::operator() ( const Tensor  x,
const double  n,
Tensor  out 
) const
pure virtual

◆ operator()() [2/2]

virtual void infini::ops::special::ShiftedChebyshevPolynomialU::operator() ( const Tensor  x,
const Tensor  n,
Tensor  out 
) const
pure virtual

Member Data Documentation

◆ device_index_

int infini::ops::special::ShiftedChebyshevPolynomialU::device_index_ {0}
protected

◆ n_

double infini::ops::special::ShiftedChebyshevPolynomialU::n_ {}
protected

◆ n_shape_

Tensor::Shape infini::ops::special::ShiftedChebyshevPolynomialU::n_shape_
protected

◆ n_strides_

Tensor::Strides infini::ops::special::ShiftedChebyshevPolynomialU::n_strides_
protected

◆ n_type_

DataType infini::ops::special::ShiftedChebyshevPolynomialU::n_type_
protected

◆ out_shape_

Tensor::Shape infini::ops::special::ShiftedChebyshevPolynomialU::out_shape_
protected

◆ out_strides_

Tensor::Strides infini::ops::special::ShiftedChebyshevPolynomialU::out_strides_
protected

◆ out_type_

DataType infini::ops::special::ShiftedChebyshevPolynomialU::out_type_
protected

◆ x_shape_

Tensor::Shape infini::ops::special::ShiftedChebyshevPolynomialU::x_shape_
protected

◆ x_strides_

Tensor::Strides infini::ops::special::ShiftedChebyshevPolynomialU::x_strides_
protected

◆ x_type_

DataType infini::ops::special::ShiftedChebyshevPolynomialU::x_type_
protected

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