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

#include <lu_unpack.h>

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

Public Member Functions

 LuUnpack (const Tensor LU_data, const Tensor LU_pivots, const bool unpack_data, const bool unpack_pivots, Tensor P, Tensor L, Tensor U)
 
virtual void operator() (const Tensor LU_data, const Tensor LU_pivots, const bool unpack_data, const bool unpack_pivots, Tensor P, Tensor L, Tensor U) const =0
 
- Public Member Functions inherited from infini::ops::Operator< LuUnpack >
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 LU_data_shape_
 
Tensor::Strides LU_data_strides_
 
DataType LU_data_type_
 
Tensor::Shape LU_pivots_shape_
 
Tensor::Strides LU_pivots_strides_
 
DataType LU_pivots_type_
 
Tensor::Shape P_shape_
 
Tensor::Strides P_strides_
 
DataType P_type_
 
Tensor::Shape L_shape_
 
Tensor::Strides L_strides_
 
DataType L_type_
 
Tensor::Shape U_shape_
 
Tensor::Strides U_strides_
 
DataType U_type_
 
bool unpack_data_ {}
 
bool unpack_pivots_ {}
 
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< LuUnpack >
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< LuUnpack >
static constexpr Device::Type device_type_
 
static constexpr std::size_t implementation_index_
 

Constructor & Destructor Documentation

◆ LuUnpack()

infini::ops::LuUnpack::LuUnpack ( const Tensor  LU_data,
const Tensor  LU_pivots,
const bool  unpack_data,
const bool  unpack_pivots,
Tensor  P,
Tensor  L,
Tensor  U 
)
inline

Member Function Documentation

◆ operator()()

virtual void infini::ops::LuUnpack::operator() ( const Tensor  LU_data,
const Tensor  LU_pivots,
const bool  unpack_data,
const bool  unpack_pivots,
Tensor  P,
Tensor  L,
Tensor  U 
) const
pure virtual

Member Data Documentation

◆ device_index_

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

◆ L_shape_

Tensor::Shape infini::ops::LuUnpack::L_shape_
protected

◆ L_strides_

Tensor::Strides infini::ops::LuUnpack::L_strides_
protected

◆ L_type_

DataType infini::ops::LuUnpack::L_type_
protected

◆ LU_data_shape_

Tensor::Shape infini::ops::LuUnpack::LU_data_shape_
protected

◆ LU_data_strides_

Tensor::Strides infini::ops::LuUnpack::LU_data_strides_
protected

◆ LU_data_type_

DataType infini::ops::LuUnpack::LU_data_type_
protected

◆ LU_pivots_shape_

Tensor::Shape infini::ops::LuUnpack::LU_pivots_shape_
protected

◆ LU_pivots_strides_

Tensor::Strides infini::ops::LuUnpack::LU_pivots_strides_
protected

◆ LU_pivots_type_

DataType infini::ops::LuUnpack::LU_pivots_type_
protected

◆ P_shape_

Tensor::Shape infini::ops::LuUnpack::P_shape_
protected

◆ P_strides_

Tensor::Strides infini::ops::LuUnpack::P_strides_
protected

◆ P_type_

DataType infini::ops::LuUnpack::P_type_
protected

◆ U_shape_

Tensor::Shape infini::ops::LuUnpack::U_shape_
protected

◆ U_strides_

Tensor::Strides infini::ops::LuUnpack::U_strides_
protected

◆ U_type_

DataType infini::ops::LuUnpack::U_type_
protected

◆ unpack_data_

bool infini::ops::LuUnpack::unpack_data_ {}
protected

◆ unpack_pivots_

bool infini::ops::LuUnpack::unpack_pivots_ {}
protected

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