Class muda::DenseVectorViewT
template <bool IsConst, typename T>
ClassList > muda > DenseVectorViewT
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef BufferView< T > | BufferView |
typedef CBufferView< T > | CBufferView |
typedef CDenseVectorViewer< T > | CViewer |
typedef DenseVectorViewT< true, T > | ConstView |
typedef DenseVectorViewT< false, T > | NonConstView |
typedef std::conditional_t< IsConst, CBufferView, BufferView > | ThisBufferView |
typedef DenseVectorViewT< 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 |
---|---|
bool | IsConst = = IsConst_ |
bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | DenseVectorViewT () = default |
MUDA_GENERIC | DenseVectorViewT (auto_const_t< T > * data, cusparseDnVecDescr_t descr, int offset, int inc, int size, int origin_size) |
MUDA_GENERIC | DenseVectorViewT (const DenseVectorViewT< OtherIsConst, T > & other) |
MUDA_GENERIC ConstView | as_const () const |
MUDA_GENERIC auto | buffer_view () const |
MUDA_GENERIC auto | cviewer () const |
MUDA_GENERIC auto | data () const |
MUDA_GENERIC auto | descr () const |
MUDA_GENERIC auto | inc () const |
MUDA_GENERIC auto | offset () const |
MUDA_GENERIC auto | origin_data () const |
MUDA_GENERIC auto | size () const |
MUDA_GENERIC auto | subview (int offset, int size) const |
MUDA_GENERIC auto | viewer () const |
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::DenseVectorViewT< IsConst, T >::ThisBufferView = std::conditional_t<IsConst, CBufferView, BufferView>;
typedef ThisView
typedef ThisViewer
using muda::DenseVectorViewT< IsConst, T >::ThisViewer = std::conditional_t<IsConst, CViewer, Viewer>;
typedef Viewer
Public Functions Documentation
function DenseVectorViewT [2/4]
function DenseVectorViewT [3/4]
inline MUDA_GENERIC muda::DenseVectorViewT::DenseVectorViewT (
auto_const_t< T > * data,
cusparseDnVecDescr_t descr,
int offset,
int inc,
int size,
int origin_size
)
function DenseVectorViewT [4/4]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::DenseVectorViewT::DenseVectorViewT (
const DenseVectorViewT < OtherIsConst, T > & other
)
function as_const
function buffer_view
function cviewer
function data
function descr
function inc
function offset
function origin_data
function size
function subview
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