Class muda::FieldEntryViewCore
template <bool IsConst, typename T, FieldEntryLayout Layout, int M, int N>
ClassList > muda > FieldEntryViewCore
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef typename ViewerCore::ConstMatMap | ConstMatMap |
typedef CFieldEntryViewer< T, Layout, M, N > | ConstViewer |
typedef typename ViewerCore::MatStride | MatStride |
typedef typename ViewerCore::NonConstMatMap | NonConstMatMap |
typedef FieldEntryViewer< T, Layout, M, N > | NonConstViewer |
typedef typename ViewerCore::ThisMatMap | ThisMatMap |
typedef std::conditional_t< IsConst, ConstViewer, NonConstViewer > | ThisViewer |
typedef typename Base::template auto_const_t< U > | auto_const_t |
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 |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | FieldEntryViewCore () = default |
MUDA_GENERIC | FieldEntryViewCore (HostDeviceConfigView< FieldEntryCore > core, int offset, int size) |
MUDA_GENERIC auto | cviewer () const |
MUDA_GENERIC auto | elem_byte_size () const |
MUDA_GENERIC auto | layout () const |
MUDA_GENERIC auto | layout_info () const |
MUDA_GENERIC auto | name () const |
MUDA_GENERIC auto | offset () const |
MUDA_GENERIC auto | shape () const |
MUDA_GENERIC auto | size () const |
MUDA_GENERIC auto | struct_stride () const |
MUDA_GENERIC auto | total_count () const |
MUDA_GENERIC auto | viewer () |
Protected Attributes
Type | Name |
---|---|
HostDeviceConfigView< FieldEntryCore > | m_core |
int | m_offset = = 0 |
int | m_size = = 0 |
MatStride | m_stride |
Protected Functions
Type | Name |
---|---|
MUDA_GENERIC | FieldEntryViewCore (HostDeviceConfigView< FieldEntryCore > core, int offset, int size, AsIterator) |
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 |
Public Types Documentation
typedef ConstMatMap
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::ConstMatMap = typename ViewerCore::ConstMatMap;
typedef ConstViewer
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::ConstViewer = CFieldEntryViewer<T, Layout, M, N>;
typedef MatStride
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::MatStride = typename ViewerCore::MatStride;
typedef NonConstMatMap
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::NonConstMatMap = typename ViewerCore::NonConstMatMap;
typedef NonConstViewer
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::NonConstViewer = FieldEntryViewer<T, Layout, M, N>;
typedef ThisMatMap
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::ThisMatMap = typename ViewerCore::ThisMatMap;
typedef ThisViewer
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::ThisViewer = std::conditional_t<IsConst, ConstViewer, NonConstViewer>;
typedef auto_const_t
using muda::FieldEntryViewCore< IsConst, T, Layout, M, N >::auto_const_t = typename Base::template auto_const_t<U>;
Public Functions Documentation
function FieldEntryViewCore [2/3]
function FieldEntryViewCore [3/3]
inline MUDA_GENERIC muda::FieldEntryViewCore::FieldEntryViewCore (
HostDeviceConfigView < FieldEntryCore > core,
int offset,
int size
)
function cviewer
function elem_byte_size
function layout
function layout_info
function name
function offset
function shape
function size
function struct_stride
function total_count
function viewer
Protected Attributes Documentation
variable m_core
variable m_offset
variable m_size
variable m_stride
Protected Functions Documentation
function FieldEntryViewCore [1/3]
inline MUDA_GENERIC muda::FieldEntryViewCore::FieldEntryViewCore (
HostDeviceConfigView < FieldEntryCore > core,
int offset,
int size,
AsIterator
)
function data [1/3]
function data [2/3]
function data [3/3]
inline MUDA_GENERIC T * muda::FieldEntryViewCore::data (
int i,
int row_index,
int col_index
) const
The documentation for this class was generated from the following file src/muda/ext/field/field_entry_view.h