Class muda::DenseVectorViewBase
template <bool IsConst, typename T>
ClassList > muda > DenseVectorViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef BufferView< T > | BufferView |
typedef CBufferView< T > | CBufferView |
typedef CDenseVectorViewer< T > | CViewer |
typedef DenseVectorViewBase< true, T > | ConstView |
typedef DenseVectorViewBase< false, T > | NonConstView |
typedef std::conditional_t< IsConst, CBufferView, BufferView > | ThisBufferView |
typedef DenseVectorViewBase< IsConst, T > | ThisView |
typedef std::conditional_t< IsConst, CViewer, Viewer > | ThisViewer |
typedef DenseVectorViewer< 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 |
---|---|
DenseVectorViewBase () = default |
|
DenseVectorViewBase (auto_const_t< T > * data, cusparseDnVecDescr_t descr, int offset, int inc, int size, int origin_size) |
|
ConstView | as_const () const |
auto | buffer_view () |
CBufferView | buffer_view () const |
auto | cviewer () const |
auto | data () |
auto | data () const |
auto | descr () const |
auto | inc () const |
auto | offset () const |
operator ConstView () const |
|
auto | origin_data () |
auto | origin_data () const |
auto | size () const |
auto | subview (int offset, int size) |
auto | subview (int offset, int size) const |
auto | viewer () |
Protected Attributes
Type | Name |
---|---|
auto_const_t< T > * | m_data = = nullptr |
cusparseDnVecDescr_t | m_descr = = nullptr |
int | m_inc = = -1 |
int | m_offset = = -1 |
int | m_origin_size = = -1 |
int | m_size = = -1 |
Public Types Documentation
typedef BufferView
typedef CBufferView
typedef CViewer
typedef ConstView
typedef NonConstView
typedef ThisBufferView
using muda::DenseVectorViewBase< IsConst, T >::ThisBufferView = std::conditional_t<IsConst, CBufferView, BufferView>;
typedef ThisView
typedef ThisViewer
using muda::DenseVectorViewBase< IsConst, T >::ThisViewer = std::conditional_t<IsConst, CViewer, Viewer>;
typedef Viewer
Public Functions Documentation
function DenseVectorViewBase [1/2]
function DenseVectorViewBase [2/2]
inline muda::DenseVectorViewBase::DenseVectorViewBase (
auto_const_t< T > * data,
cusparseDnVecDescr_t descr,
int offset,
int inc,
int size,
int origin_size
)
function as_const
function buffer_view [1/2]
function buffer_view [2/2]
function cviewer
function data [1/2]
function data [2/2]
function descr
function inc
function offset
function operator ConstView
function origin_data [1/2]
function origin_data [2/2]
function size
function subview [1/2]
function subview [2/2]
function viewer
Protected Attributes Documentation
variable m_data
variable m_descr
variable m_inc
variable m_offset
variable m_origin_size
variable m_size
The documentation for this class was generated from the following file src/muda/ext/linear_system/dense_vector_view.h