MUDA
Loading...
Searching...
No Matches
muda::COOVectorViewBase< IsConst, T > Class Template Reference
Inheritance diagram for muda::COOVectorViewBase< IsConst, T >:
muda::ViewBase< IsConst >

Public Types

using NonConstView = COOVectorViewBase< false, T >
 
using ConstView = COOVectorViewBase< true, T >
 
using ThisView = COOVectorViewBase< IsConst, T >
 
using CViewer = CCOOVectorViewer< T >
 
using Viewer = COOVectorViewer< T >
 
using ThisViewer = std::conditional_t< IsConst, CViewer, Viewer >
 
- Public Types inherited from muda::ViewBase< IsConst >
using auto_const_t = std::conditional_t< IsConst, const T, T >
 
using non_const_enable_t = std::enable_if_t< IsNonConst, T >
 

Public Member Functions

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 -> ConstView
 
MUDA_GENERIC operator ConstView () const
 
MUDA_GENERIC auto viewer ()
 
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 cviewer () const
 
MUDA_GENERIC auto vector_size () const
 
MUDA_GENERIC auto doublet_index_offset () const
 
MUDA_GENERIC auto doublet_count () const
 
MUDA_GENERIC auto total_doublet_count () const
 
MUDA_GENERIC auto descr () const
 

Protected Attributes

int m_size = 0
 
int m_doublet_index_offset = 0
 
int m_doublet_count = 0
 
int m_total_doublet_count = 0
 
auto_const_t< int > * m_indices = nullptr
 
auto_const_t< T > * m_values = nullptr
 
cusparseSpVecDescr_t m_descr = nullptr
 

Additional Inherited Members

- Static Public Attributes inherited from muda::ViewBase< IsConst >
static constexpr bool IsConst
 
static constexpr bool IsNonConst
 

The documentation for this class was generated from the following file: