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

Classes

struct  AsIterator
 

Public Types

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 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
 

Protected Member Functions

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

HostDeviceConfigView< FieldEntryCorem_core
 
MatStride m_stride
 
int m_offset = 0
 
int m_size = 0
 

Friends

class FieldEntryLaunch
 

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: