MUDA
Loading...
Searching...
No Matches
muda::FieldEntryViewerCore< IsConst, T, Layout, M, N > Class Template Reference
Inheritance diagram for muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >:
muda::ViewerBase< IsConst > muda::FieldEntryViewerBase< true, T, Layout, M, N > muda::FieldEntryViewerBase< true, T, Layout, 1, 1 > muda::FieldEntryViewerBase< true, T, Layout, N, 1 > muda::FieldEntryViewerBase< false, T, Layout, M, N > muda::FieldEntryViewerBase< false, T, Layout, 1, 1 > muda::FieldEntryViewerBase< false, T, Layout, N, 1 > muda::FieldEntryViewerBase< IsConst, T, Layout, M, N > muda::CFieldEntryViewer< T, Layout, M, N > muda::CFieldEntryViewer< T, Layout, 1, 1 > muda::CFieldEntryViewer< T, Layout, N, 1 > muda::FieldEntryViewer< T, Layout, M, N > muda::FieldEntryViewer< T, Layout, 1, 1 > muda::FieldEntryViewer< T, Layout, N, 1 >

Public Types

using MatStride = details::field::MatStride
 
using ConstMatMap = Eigen::Map< const Eigen::Matrix< T, M, N >, 0, MatStride >
 
using NonConstMatMap = Eigen::Map< Eigen::Matrix< T, M, N >, 0, MatStride >
 
using ThisMatMap = std::conditional_t< IsConst, ConstMatMap, NonConstMatMap >
 

Public Member Functions

MUDA_GENERIC FieldEntryViewerCore (HostDeviceConfigView< FieldEntryCore > core, int offset, int size)
 
MUDA_GENERIC FieldEntryViewerCore (const FieldEntryViewerCore &)=default
 
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 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 entry_name () const
 

Protected Types

template<typename U >
using auto_const_t = typename Base::template auto_const_t< U >
 
- Protected Types inherited from muda::ViewerBase< IsConst >
using auto_const_t = std::conditional_t< IsConst, const T, T >
 
using non_const_enable_t = std::enable_if_t< IsNonConst, T >
 

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from muda::ViewerBase< IsConst >
MUDA_INLINE MUDA_HOST void name (const char *n) MUDA_NOEXCEPT
 
MUDA_INLINE MUDA_GENERIC void name (details::StringPointer pointer) MUDA_NOEXCEPT
 
 ViewerBase (const ViewerBase &)=default
 
 ViewerBase (ViewerBase &&)=default
 
MUDA_GENERIC const char * name () const MUDA_NOEXCEPT
 
MUDA_GENERIC const char * kernel_name () const MUDA_NOEXCEPT
 
MUDA_GENERIC const char * kernel_file () const MUDA_NOEXCEPT
 
MUDA_GENERIC int kernel_line () const MUDA_NOEXCEPT
 
MUDA_INLINE MUDA_GENERIC void copy_label (const ViewerBase &other) MUDA_NOEXCEPT
 
ViewerBaseoperator= (const ViewerBase &)=default
 
ViewerBaseoperator= (ViewerBase &&)=default
 
- Static Protected Attributes inherited from muda::ViewerBase< IsConst >
static constexpr bool IsConst
 
static constexpr bool IsNonConst
 

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