MUDA
Loading...
Searching...
No Matches
muda::CFieldEntryView< T, Layout, M, N > Class Template Reference
Inheritance diagram for muda::CFieldEntryView< T, Layout, M, N >:
muda::FieldEntryViewBase< true, T, Layout, M, N > muda::FieldEntryViewCore< IsConst, T, Layout, M, N > muda::ViewBase< IsConst >

Public Types

using ConstView = CFieldEntryView< T, Layout, M, N >
 
using NonConstView = FieldEntryView< T, Layout, M, N >
 
using ThisView = CFieldEntryView< T, Layout, M, N >
 
using ElementType = typename Base::ElementType
 
- Public Types inherited from muda::FieldEntryViewBase< true, T, Layout, M, N >
using ConstView = FieldEntryViewBase< true, T, Layout, M, N >
 
using NonConstView = FieldEntryViewBase< false, T, Layout, M, N >
 
using ThisView = FieldEntryViewBase< IsConst, T, Layout, M, N >
 
using ElementType = Eigen::Matrix< T, M, N >
 
using ConstMatrixMap = typename Base::ConstMatMap
 
using ThisMatrixMap = typename Base::ThisMatMap
 
using value_type = ElementType
 
using reference = ThisMatrixMap
 
using pointer = DummyPointer
 
using iterator_category = std::random_access_iterator_tag
 
using difference_type = size_t
 
- Public Types inherited from muda::FieldEntryViewCore< IsConst, T, Layout, M, N >
template<typename U >
using auto_const_t = typename Base::template auto_const_t< U >
 
using ConstViewer = CFieldEntryViewer< T, Layout, M, N >
 
using NonConstViewer = FieldEntryViewer< T, Layout, M, N >
 
using ThisViewer = std::conditional_t< IsConst, ConstViewer, NonConstViewer >
 
using MatStride = typename ViewerCore::MatStride
 
using ConstMatMap = typename ViewerCore::ConstMatMap
 
using NonConstMatMap = typename ViewerCore::NonConstMatMap
 
using ThisMatMap = typename ViewerCore::ThisMatMap
 
- 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 CFieldEntryView (const Base &base)
 
MUDA_GENERIC auto as_const () const
 
MUDA_GENERIC operator ConstView () const
 
MUDA_GENERIC auto subview (int offset) const
 
MUDA_GENERIC auto subview (int offset, int size) const
 
MUDA_GENERIC auto subview (int offset)
 
MUDA_GENERIC auto subview (int offset, int size)
 
MUDA_HOST void copy_to (BufferView< ElementType > dst) const
 
- Public Member Functions inherited from muda::FieldEntryViewBase< true, T, Layout, M, N >
MUDA_GENERIC FieldEntryViewBase (const Base &base)
 
MUDA_GENERIC auto as_const () const
 
MUDA_GENERIC operator ConstView () const
 
MUDA_GENERIC auto_const_t< T > * data (int i, int row_index, int col_index)
 
MUDA_GENERIC const T * data (int i, int row_index, int col_index) const
 
MUDA_GENERIC auto subview (int offset) const
 
MUDA_GENERIC auto subview (int offset, int size) const
 
MUDA_GENERIC auto subview (int offset)
 
MUDA_GENERIC auto subview (int offset, int size)
 
MUDA_GENERIC ThisView operator+ (int i)
 
MUDA_GENERIC ConstView operator+ (int i) const
 
MUDA_GENERIC reference operator* ()
 
MUDA_GENERIC auto operator[] (int i)
 
MUDA_GENERIC auto operator[] (int i) const
 
- Public Member Functions inherited from muda::FieldEntryViewCore< IsConst, T, Layout, M, N >
MUDA_GENERIC FieldEntryViewCore (HostDeviceConfigView< FieldEntryCore > core, int offset, int size)
 
MUDA_GENERIC auto layout_info () const
 
MUDA_GENERIC auto layout () const
 
MUDA_GENERIC auto offset () const
 
MUDA_GENERIC auto size () const
 
MUDA_GENERIC auto total_count () const
 
MUDA_GENERIC auto elem_byte_size () const
 
MUDA_GENERIC auto shape () const
 
MUDA_GENERIC auto struct_stride () const
 
MUDA_GENERIC auto name () const
 
MUDA_GENERIC auto viewer ()
 
MUDA_GENERIC auto cviewer () const
 

Additional Inherited Members

- Static Public Attributes inherited from muda::ViewBase< IsConst >
static constexpr bool IsConst
 
static constexpr bool IsNonConst
 
- Protected Member Functions inherited from muda::FieldEntryViewCore< IsConst, T, Layout, M, N >
MUDA_GENERIC T * data (int i) const
 
MUDA_GENERIC T * data (int i, int j) const
 
MUDA_GENERIC T * data (int i, int row_index, int col_index) const
 
MUDA_GENERIC FieldEntryViewCore (HostDeviceConfigView< FieldEntryCore > core, int offset, int size, AsIterator)
 
- Protected Attributes inherited from muda::FieldEntryViewCore< IsConst, T, Layout, M, N >
HostDeviceConfigView< FieldEntryCorem_core
 
MatStride m_stride
 
int m_offset = 0
 
int m_size = 0
 

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