Class muda::COOVectorViewBase
template <bool IsConst, typename T>
ClassList > muda > COOVectorViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef CCOOVectorViewer< T > | CViewer |
typedef COOVectorViewBase< true, T > | ConstView |
typedef COOVectorViewBase< false, T > | NonConstView |
typedef COOVectorViewBase< IsConst, T > | ThisView |
typedef std::conditional_t< IsConst, CViewer, Viewer > | ThisViewer |
typedef COOVectorViewer< T > | Viewer |
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 | COOVectorViewBase () = default |
MUDA_GENERIC | COOVectorViewBase (int size, int doublet_index_offset, int doublet_count, int total_doublet_count, auto_const_t< int > * indices, auto_const_t< T > * values, cusparseSpVecDescr_t descr) |
MUDA_GENERIC auto | as_const () const |
MUDA_GENERIC auto | cviewer () const |
MUDA_GENERIC auto | descr () const |
MUDA_GENERIC auto | doublet_count () const |
MUDA_GENERIC auto | doublet_index_offset () const |
MUDA_GENERIC | operator ConstView () const |
MUDA_GENERIC auto | subview (int offset, int count) |
MUDA_GENERIC auto | subview (int offset) |
MUDA_GENERIC ConstView | subview (int offset, int count) const |
MUDA_GENERIC ConstView | subview (int offset) const |
MUDA_GENERIC auto | total_doublet_count () const |
MUDA_GENERIC auto | vector_size () const |
MUDA_GENERIC auto | viewer () |
Protected Attributes
Type | Name |
---|---|
cusparseSpVecDescr_t | m_descr = = nullptr |
int | m_doublet_count = = 0 |
int | m_doublet_index_offset = = 0 |
auto_const_t< int > * | m_indices = = nullptr |
int | m_size = = 0 |
int | m_total_doublet_count = = 0 |
auto_const_t< T > * | m_values = = nullptr |
Public Types Documentation
typedef CViewer
typedef ConstView
typedef NonConstView
typedef ThisView
typedef ThisViewer
using muda::COOVectorViewBase< IsConst, T >::ThisViewer = std::conditional_t<IsConst, CViewer, Viewer>;
typedef Viewer
Public Functions Documentation
function COOVectorViewBase [1/2]
function COOVectorViewBase [2/2]
inline MUDA_GENERIC muda::COOVectorViewBase::COOVectorViewBase (
int size,
int doublet_index_offset,
int doublet_count,
int total_doublet_count,
auto_const_t< int > * indices,
auto_const_t< T > * values,
cusparseSpVecDescr_t descr
)
function as_const
function cviewer
function descr
function doublet_count
function doublet_index_offset
function operator ConstView
function subview [1/4]
function subview [2/4]
function subview [3/4]
function subview [4/4]
function total_doublet_count
function vector_size
function viewer
Protected Attributes Documentation
variable m_descr
variable m_doublet_count
variable m_doublet_index_offset
variable m_indices
variable m_size
variable m_total_doublet_count
variable m_values
The documentation for this class was generated from the following file src/muda/ext/linear_system/bcoo_vector_view.h