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

Public Types

using ConstViewer = FieldEntryViewerBase< true, T, Layout, M, N >
 
using NonConstViewer = FieldEntryViewerBase< false, T, Layout, M, N >
 
using ThisViewer = FieldEntryViewerBase< IsConst, T, Layout, M, N >
 
using ConstMatrixMap = typename Base::ConstMatMap
 
using ThisMatrixMap = typename Base::ThisMatMap
 
- Public Types inherited from muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >
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 FieldEntryViewerBase (const Base &base)
 
MUDA_GENERIC auto as_const () const
 
MUDA_GENERIC operator ConstViewer () 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 operator() (int i)
 
MUDA_GENERIC auto operator() (int i) const
 
- Public Member Functions inherited from muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >
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
 

Additional Inherited Members

- Protected Types inherited from muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >
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 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
 
- Protected Attributes inherited from muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >
HostDeviceConfigView< FieldEntryCorem_core
 
MatStride m_stride
 
int m_offset = 0
 
int m_size = 0
 
- 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: