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

#include <qr.h>

Inheritance diagram for infini::ops::Qr:
infini::ops::Operator< Qr > infini::ops::OperatorBase infini::ops::OperatorBase

Public Member Functions

 Qr (const Tensor input, const bool some, Tensor Q, Tensor R)
 
virtual void operator() (const Tensor input, const bool some, Tensor Q, Tensor R) const =0
 
- Public Member Functions inherited from infini::ops::Operator< Qr >
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 input_shape_
 
Tensor::Strides input_strides_
 
DataType input_type_
 
Tensor::Shape Q_shape_
 
Tensor::Strides Q_strides_
 
DataType Q_type_
 
Tensor::Shape R_shape_
 
Tensor::Strides R_strides_
 
DataType R_type_
 
bool some_ {}
 
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< Qr >
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< Qr >
static constexpr Device::Type device_type_
 
static constexpr std::size_t implementation_index_
 

Constructor & Destructor Documentation

◆ Qr()

infini::ops::Qr::Qr ( const Tensor  input,
const bool  some,
Tensor  Q,
Tensor  R 
)
inline

Member Function Documentation

◆ operator()()

virtual void infini::ops::Qr::operator() ( const Tensor  input,
const bool  some,
Tensor  Q,
Tensor  R 
) const
pure virtual

Member Data Documentation

◆ device_index_

int infini::ops::Qr::device_index_ {0}
protected

◆ input_shape_

Tensor::Shape infini::ops::Qr::input_shape_
protected

◆ input_strides_

Tensor::Strides infini::ops::Qr::input_strides_
protected

◆ input_type_

DataType infini::ops::Qr::input_type_
protected

◆ Q_shape_

Tensor::Shape infini::ops::Qr::Q_shape_
protected

◆ Q_strides_

Tensor::Strides infini::ops::Qr::Q_strides_
protected

◆ Q_type_

DataType infini::ops::Qr::Q_type_
protected

◆ R_shape_

Tensor::Shape infini::ops::Qr::R_shape_
protected

◆ R_strides_

Tensor::Strides infini::ops::Qr::R_strides_
protected

◆ R_type_

DataType infini::ops::Qr::R_type_
protected

◆ some_

bool infini::ops::Qr::some_ {}
protected

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