MUDA
Loading...
Searching...
No Matches
muda::COOMatrixViewBase< IsConst, Ty > Class Template Reference
Inheritance diagram for muda::COOMatrixViewBase< IsConst, Ty >:
muda::ViewBase< IsConst >

Public Types

using NonConstView = COOMatrixViewBase< false, Ty >
 
using ConstView = COOMatrixViewBase< true, Ty >
 
using ThisView = COOMatrixViewBase< IsConst, Ty >
 
- Public Types inherited from muda::ViewBase< IsConst >
using auto_const_t = std::conditional_t< IsConst, const T, T >
 
using non_const_enable_t = std::enable_if_t< IsNonConst, T >
 

Public Member Functions

MUDA_GENERIC COOMatrixViewBase (int rows, int cols, int triplet_index_offset, int triplet_count, int total_triplet_count, int2 submatrix_offset, int2 submatrix_extent, auto_const_t< int > *row_indices, auto_const_t< int > *col_indices, auto_const_t< Ty > *values, cusparseSpMatDescr_t descr, cusparseMatDescr_t legacy_descr, bool trans)
 
MUDA_GENERIC COOMatrixViewBase (int rows, int cols, int total_triplet_count, auto_const_t< int > *row_indices, auto_const_t< int > *col_indices, auto_const_t< Ty > *values, cusparseSpMatDescr_t descr, cusparseMatDescr_t legacy_descr, bool trans)
 
MUDA_GENERIC auto as_const () const
 
MUDA_GENERIC operator ConstView () const
 
MUDA_GENERIC auto cviewer () const
 
MUDA_GENERIC auto viewer ()
 
auto_const_t< Ty > * block_values ()
 
auto_const_t< int > * block_row_indices ()
 
auto_const_t< int > * block_col_indices ()
 
auto block_values () const
 
auto block_row_indices () const
 
auto block_col_indices () const
 
auto block_rows () const
 
auto block_cols () const
 
auto triplet_count () const
 
auto tripet_index_offset () const
 
auto total_triplet_count () const
 
auto is_trans () const
 
auto legacy_descr () const
 
auto descr () const
 

Protected Attributes

int m_rows = 0
 
int m_cols = 0
 
int m_triplet_index_offset = 0
 
int m_triplet_count = 0
 
int m_total_triplet_count = 0
 
int2 m_submatrix_offset = {0, 0}
 
int2 m_submatrix_extent = {0, 0}
 
auto_const_t< int > * m_row_indices
 
auto_const_t< int > * m_col_indices
 
auto_const_t< Ty > * m_values
 
cusparseMatDescr_t m_legacy_descr = nullptr
 
cusparseSpMatDescr_t m_descr = nullptr
 
bool m_trans = false
 

Additional Inherited Members

- Static Public Attributes inherited from muda::ViewBase< IsConst >
static constexpr bool IsConst
 
static constexpr bool IsNonConst
 

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