Class muda::COOMatrixViewBase
template <bool IsConst, typename Ty>
ClassList > muda > COOMatrixViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef COOMatrixViewBase< true, Ty > | ConstView |
typedef COOMatrixViewBase< false, Ty > | NonConstView |
typedef COOMatrixViewBase< IsConst, Ty > | ThisView |
Public Types inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
typedef std::conditional_t< IsConst, const T, T > | auto_const_t |
typedef std::enable_if_t< IsNonConst, T > | non_const_enable_t |
Public Static Attributes inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | COOMatrixViewBase () = default |
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 |
auto_const_t< int > * | block_col_indices () |
auto | block_col_indices () const |
auto | block_cols () const |
auto_const_t< int > * | block_row_indices () |
auto | block_row_indices () const |
auto | block_rows () const |
auto_const_t< Ty > * | block_values () |
auto | block_values () const |
MUDA_GENERIC auto | cviewer () const |
auto | descr () const |
auto | is_trans () const |
auto | legacy_descr () const |
MUDA_GENERIC | operator ConstView () const |
auto | total_triplet_count () const |
auto | tripet_index_offset () const |
auto | triplet_count () const |
MUDA_GENERIC auto | viewer () |
Protected Attributes
Type | Name |
---|---|
auto_const_t< int > * | m_col_indices |
int | m_cols = = 0 |
cusparseSpMatDescr_t | m_descr = = nullptr |
cusparseMatDescr_t | m_legacy_descr = = nullptr |
auto_const_t< int > * | m_row_indices |
int | m_rows = = 0 |
int2 | m_submatrix_extent = = {0, 0} |
int2 | m_submatrix_offset = = {0, 0} |
int | m_total_triplet_count = = 0 |
bool | m_trans = = false |
int | m_triplet_count = = 0 |
int | m_triplet_index_offset = = 0 |
auto_const_t< Ty > * | m_values |
Public Types Documentation
typedef ConstView
typedef NonConstView
typedef ThisView
Public Functions Documentation
function COOMatrixViewBase [1/3]
function COOMatrixViewBase [2/3]
inline MUDA_GENERIC muda::COOMatrixViewBase::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
)
function COOMatrixViewBase [3/3]
inline MUDA_GENERIC muda::COOMatrixViewBase::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
)
function as_const
function block_col_indices [1/2]
function block_col_indices [2/2]
function block_cols
function block_row_indices [1/2]
function block_row_indices [2/2]
function block_rows
function block_values [1/2]
function block_values [2/2]
function cviewer
function descr
function is_trans
function legacy_descr
function operator ConstView
function total_triplet_count
function tripet_index_offset
function triplet_count
function viewer
Protected Attributes Documentation
variable m_col_indices
variable m_cols
variable m_descr
variable m_legacy_descr
variable m_row_indices
variable m_rows
variable m_submatrix_extent
variable m_submatrix_offset
variable m_total_triplet_count
variable m_trans
variable m_triplet_count
variable m_triplet_index_offset
variable m_values
The documentation for this class was generated from the following file src/muda/ext/linear_system/bcoo_matrix_view.h