Class muda::BSRMatrixViewT
template <bool IsConst, typename Ty, int N>
ClassList > muda > BSRMatrixViewT
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef BSRMatrixViewT< true, Ty, N > | ConstView |
typedef BSRMatrixViewT< false, Ty, N > | NonConstView |
typedef BSRMatrixViewT< IsConst, Ty, N > | ThisView |
typedef std::conditional_t< N==1, Ty, Eigen::Matrix< Ty, N, N > > | ValueT |
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 | BSRMatrixViewT () noexcept |
MUDA_GENERIC | BSRMatrixViewT (int row, int col, auto_const_t< int > * block_row_offsets, auto_const_t< int > * block_col_indices, auto_const_t< ValueT > * block_values, int non_zeros, cusparseSpMatDescr_t descr, cusparseMatDescr_t legacy_descr, bool trans) noexcept |
MUDA_GENERIC | BSRMatrixViewT (const BSRMatrixViewT< OtherIsConst, Ty, N > & other) noexcept |
MUDA_GENERIC auto | T () const |
MUDA_GENERIC ConstView | as_const () const |
MUDA_GENERIC auto | col_indices () const |
MUDA_GENERIC auto | cols () const |
MUDA_GENERIC auto | descr () const |
MUDA_GENERIC auto | is_trans () const |
MUDA_GENERIC auto | legacy_descr () const |
MUDA_GENERIC auto | non_zeros () const |
MUDA_GENERIC auto | row_offsets () const |
MUDA_GENERIC auto | rows () const |
MUDA_GENERIC 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_zeros = = 0 |
int | m_row = = 0 |
auto_const_t< int > * | m_row_offsets = = nullptr |
bool | m_trans = = false |
auto_const_t< ValueT > * | m_values = = nullptr |
Public Types Documentation
typedef ConstView
typedef NonConstView
typedef ThisView
typedef ValueT
using muda::BSRMatrixViewT< IsConst, Ty, N >::ValueT = std::conditional_t<N == 1, Ty, Eigen::Matrix<Ty, N, N>>;
Public Functions Documentation
function BSRMatrixViewT [2/4]
function BSRMatrixViewT [3/4]
inline MUDA_GENERIC muda::BSRMatrixViewT::BSRMatrixViewT (
int row,
int col,
auto_const_t< int > * block_row_offsets,
auto_const_t< int > * block_col_indices,
auto_const_t< ValueT > * block_values,
int non_zeros,
cusparseSpMatDescr_t descr,
cusparseMatDescr_t legacy_descr,
bool trans
) noexcept
function BSRMatrixViewT [4/4]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::BSRMatrixViewT::BSRMatrixViewT (
const BSRMatrixViewT < OtherIsConst, Ty, N > & other
) noexcept
function T
function as_const
function col_indices
function cols
function descr
function is_trans
function legacy_descr
function non_zeros
function row_offsets
function rows
function values
Protected Attributes Documentation
variable m_col
variable m_col_indices
variable m_descr
variable m_legacy_descr
variable m_non_zeros
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/bsr_matrix_view.h