Class muda::COOMatrixViewT
template <bool IsConst, typename Ty>
ClassList > muda > COOMatrixViewT
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef COOMatrixViewT< true, Ty > | ConstView |
typedef COOMatrixViewT< false, Ty > | NonConstView |
typedef COOMatrixViewT< 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 |
---|---|
bool | IsConst = = IsConst_ |
bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | COOMatrixViewT () = default |
MUDA_GENERIC | COOMatrixViewT (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 | COOMatrixViewT (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 | COOMatrixViewT (const COOMatrixViewT< OtherIsConst, Ty > & other) |
MUDA_GENERIC auto | as_const () const |
auto | col_indices () const |
auto | cols () const |
MUDA_GENERIC auto | cviewer () const |
auto | descr () const |
auto | is_trans () const |
auto | legacy_descr () const |
auto | row_indices () const |
auto | rows () const |
auto | total_triplet_count () const |
auto | tripet_index_offset () const |
auto | triplet_count () const |
auto | values () 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 COOMatrixViewT [2/5]
function COOMatrixViewT [3/5]
inline MUDA_GENERIC muda::COOMatrixViewT::COOMatrixViewT (
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 COOMatrixViewT [4/5]
inline MUDA_GENERIC muda::COOMatrixViewT::COOMatrixViewT (
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 COOMatrixViewT [5/5]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::COOMatrixViewT::COOMatrixViewT (
const COOMatrixViewT < OtherIsConst, Ty > & other
)
function as_const
function col_indices
function cols
function cviewer
function descr
function is_trans
function legacy_descr
function row_indices
function rows
function total_triplet_count
function tripet_index_offset
function triplet_count
function values
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