Class muda::CSRMatrixViewBase
template <bool IsConst, typename Ty>
ClassList > muda > CSRMatrixViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef CSRMatrixViewBase< true, Ty > | ConstView |
typedef CSRMatrixViewBase< false, Ty > | NonConstView |
typedef CSRMatrixViewBase< 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 |
---|---|
CSRMatrixViewBase () = default |
|
CSRMatrixViewBase (int row, int col, auto_const_t< int > * row_offsets, auto_const_t< int > * col_indices, auto_const_t< Ty > * values, int non_zero, cusparseSpMatDescr_t descr, cusparseMatDescr_t legacy_descr, bool trans) |
|
auto | T () const |
ConstView | as_const () const |
auto_const_t< int > * | col_indices () |
auto | col_indices () const |
auto | cols () const |
auto | descr () const |
auto | is_trans () const |
auto | legacy_descr () const |
auto | non_zeros () const |
operator ConstView () const |
|
auto_const_t< int > * | row_offsets () |
auto | row_offsets () const |
auto | rows () const |
auto_const_t< Ty > * | values () |
auto | values () const |
Protected Attributes
Type | Name |
---|---|
int | m_col = = 0 |
auto_const_t< int > * | m_col_indices = = nullptr |
cusparseSpMatDescr_t | m_descr = = nullptr |
cusparseMatDescr_t | m_legacy_descr = = nullptr |
int | m_non_zero = = 0 |
int | m_row = = 0 |
auto_const_t< int > * | m_row_offsets = = nullptr |
bool | m_trans = = false |
auto_const_t< Ty > * | m_values = = nullptr |
Public Types Documentation
typedef ConstView
typedef NonConstView
typedef ThisView
Public Functions Documentation
function CSRMatrixViewBase [1/2]
function CSRMatrixViewBase [2/2]
inline muda::CSRMatrixViewBase::CSRMatrixViewBase (
int row,
int col,
auto_const_t< int > * row_offsets,
auto_const_t< int > * col_indices,
auto_const_t< Ty > * values,
int non_zero,
cusparseSpMatDescr_t descr,
cusparseMatDescr_t legacy_descr,
bool trans
)
function T
function as_const
function col_indices [1/2]
function col_indices [2/2]
function cols
function descr
function is_trans
function legacy_descr
function non_zeros
function operator ConstView
function row_offsets [1/2]
function row_offsets [2/2]
function rows
function values [1/2]
function values [2/2]
Protected Attributes Documentation
variable m_col
variable m_col_indices
variable m_descr
variable m_legacy_descr
variable m_non_zero
variable m_row
variable m_row_offsets
variable m_trans
variable m_values
The documentation for this class was generated from the following file src/muda/ext/linear_system/csr_matrix_view.h