Skip to content

Class muda::DeviceBSRMatrix

template <typename Ty, int N>

ClassList > muda > DeviceBSRMatrix

Public Types

Type Name
typedef Eigen::Matrix< Ty, N, N > BlockMatrix

Public Functions

Type Name
DeviceBSRMatrix () = default
DeviceBSRMatrix (const DeviceBSRMatrix &)
DeviceBSRMatrix (DeviceBSRMatrix &&)
auto T () const
auto T ()
auto block_col_indices ()
auto block_col_indices () const
auto block_cols () const
auto block_row_offsets ()
auto block_row_offsets () const
auto block_rows () const
auto block_values ()
auto block_values () const
void clear ()
auto cview () const
cusparseSpMatDescr_t descr () const
cusparseMatDescr_t legacy_descr () const
auto non_zero_blocks () const
operator BSRMatrixView< Ty, N > ()
operator CBSRMatrixView< Ty, N > () const
DeviceBSRMatrix & operator= (const DeviceBSRMatrix &)
DeviceBSRMatrix & operator= (DeviceBSRMatrix &&)
void reserve (int non_zero_blocks)
void reserve_offsets (int size)
void reshape (int row, int col)
void resize (int non_zero_blocks)
auto view ()
auto view () const
~DeviceBSRMatrix ()

Public Static Functions

Type Name
constexpr int block_size ()

Protected Attributes

Type Name
muda::DeviceBuffer< int > m_block_col_indices
muda::DeviceBuffer< int > m_block_row_offsets
muda::DeviceBuffer< BlockMatrix > m_block_values
int m_col = = 0
cusparseSpMatDescr_t m_descr = = nullptr
cusparseMatDescr_t m_legacy_descr = = nullptr
int m_row = = 0

Public Types Documentation

typedef BlockMatrix

using muda::DeviceBSRMatrix< Ty, N >::BlockMatrix =  Eigen::Matrix<Ty, N, N>;

Public Functions Documentation

function DeviceBSRMatrix [1/3]

muda::DeviceBSRMatrix::DeviceBSRMatrix () = default

function DeviceBSRMatrix [2/3]

muda::DeviceBSRMatrix::DeviceBSRMatrix (
    const DeviceBSRMatrix &
) 

function DeviceBSRMatrix [3/3]

muda::DeviceBSRMatrix::DeviceBSRMatrix (
    DeviceBSRMatrix &&
) 

function T [1/2]

inline auto muda::DeviceBSRMatrix::T () const

function T [2/2]

inline auto muda::DeviceBSRMatrix::T () 

function block_col_indices [1/2]

inline auto muda::DeviceBSRMatrix::block_col_indices () 

function block_col_indices [2/2]

inline auto muda::DeviceBSRMatrix::block_col_indices () const

function block_cols

inline auto muda::DeviceBSRMatrix::block_cols () const

function block_row_offsets [1/2]

inline auto muda::DeviceBSRMatrix::block_row_offsets () 

function block_row_offsets [2/2]

inline auto muda::DeviceBSRMatrix::block_row_offsets () const

function block_rows

inline auto muda::DeviceBSRMatrix::block_rows () const

function block_values [1/2]

inline auto muda::DeviceBSRMatrix::block_values () 

function block_values [2/2]

inline auto muda::DeviceBSRMatrix::block_values () const

function clear

void muda::DeviceBSRMatrix::clear () 

function cview

inline auto muda::DeviceBSRMatrix::cview () const

function descr

cusparseSpMatDescr_t muda::DeviceBSRMatrix::descr () const

function legacy_descr

cusparseMatDescr_t muda::DeviceBSRMatrix::legacy_descr () const

function non_zero_blocks

inline auto muda::DeviceBSRMatrix::non_zero_blocks () const

function operator BSRMatrixView< Ty, N >

inline muda::DeviceBSRMatrix::operator BSRMatrixView< Ty, N > () 

function operator CBSRMatrixView< Ty, N >

inline muda::DeviceBSRMatrix::operator CBSRMatrixView< Ty, N > () const

function operator=

DeviceBSRMatrix & muda::DeviceBSRMatrix::operator= (
    const DeviceBSRMatrix &
) 

function operator=

DeviceBSRMatrix & muda::DeviceBSRMatrix::operator= (
    DeviceBSRMatrix &&
) 

function reserve

void muda::DeviceBSRMatrix::reserve (
    int non_zero_blocks
) 

function reserve_offsets

void muda::DeviceBSRMatrix::reserve_offsets (
    int size
) 

function reshape

void muda::DeviceBSRMatrix::reshape (
    int row,
    int col
) 

function resize

void muda::DeviceBSRMatrix::resize (
    int non_zero_blocks
) 

function view [1/2]

inline auto muda::DeviceBSRMatrix::view () 

function view [2/2]

inline auto muda::DeviceBSRMatrix::view () const

function ~DeviceBSRMatrix

muda::DeviceBSRMatrix::~DeviceBSRMatrix () 

Public Static Functions Documentation

function block_size

static inline constexpr int muda::DeviceBSRMatrix::block_size () 

Protected Attributes Documentation

variable m_block_col_indices

muda::DeviceBuffer<int> muda::DeviceBSRMatrix< Ty, N >::m_block_col_indices;

variable m_block_row_offsets

muda::DeviceBuffer<int> muda::DeviceBSRMatrix< Ty, N >::m_block_row_offsets;

variable m_block_values

muda::DeviceBuffer<BlockMatrix> muda::DeviceBSRMatrix< Ty, N >::m_block_values;

variable m_col

int muda::DeviceBSRMatrix< Ty, N >::m_col;

variable m_descr

cusparseSpMatDescr_t muda::DeviceBSRMatrix< Ty, N >::m_descr;

variable m_legacy_descr

cusparseMatDescr_t muda::DeviceBSRMatrix< Ty, N >::m_legacy_descr;

variable m_row

int muda::DeviceBSRMatrix< Ty, N >::m_row;

Friends Documentation

friend MatrixFormatConverter< Ty, N >

class muda::DeviceBSRMatrix::MatrixFormatConverter< Ty, N > (
    details::MatrixFormatConverter < Ty, N >
) 


The documentation for this class was generated from the following file src/muda/ext/linear_system/device_bsr_matrix.h