Skip to content

Class muda::FieldEntryViewerCore

template <bool IsConst, typename T, FieldEntryLayout Layout, int M, int N>

ClassList > muda > FieldEntryViewerCore

Inherits the following classes: muda::ViewerBase

Public Types

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

Public Static Attributes inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
constexpr bool IsConst = = IsConst_
constexpr bool IsNonConst = = !IsConst_

Public Functions

Type Name
MUDA_GENERIC FieldEntryViewerCore ()
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 elem_byte_size () const
MUDA_GENERIC auto entry_name () const
MUDA_GENERIC auto layout () const
MUDA_GENERIC auto layout_info () 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

Public Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_GENERIC ViewerBase ()
ViewerBase (const ViewerBase &) = default
ViewerBase (ViewerBase &&) = default
MUDA_INLINE MUDA_GENERIC void copy_label (const ViewerBase & other)
MUDA_GENERIC const char * kernel_file () const
MUDA_GENERIC int kernel_line () const
MUDA_GENERIC const char * kernel_name () const
MUDA_GENERIC const char * name () const
ViewerBase & operator= (const ViewerBase &) = default
ViewerBase & operator= (ViewerBase &&) = default

Protected Types

Type Name
typedef typename Base::template auto_const_t< U > auto_const_t

Protected Types inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
typedef std::conditional_t< IsConst, const T, T > auto_const_t
typedef std::enable_if_t< IsNonConst, T > non_const_enable_t

Protected Attributes

Type Name
HostDeviceConfigView< FieldEntryCore > m_core
int m_offset = = 0
int m_size = = 0
MatStride m_stride

Protected Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_INLINE MUDA_HOST void name (const char * n)
MUDA_INLINE MUDA_GENERIC void name (details::StringPointer pointer)

Public Types Documentation

typedef ConstMatMap

using muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::ConstMatMap =  Eigen::Map<const Eigen::Matrix<T, M, N>, 0, MatStride>;

typedef MatStride

using muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::MatStride =  details::field::MatStride;

typedef NonConstMatMap

using muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::NonConstMatMap =  Eigen::Map<Eigen::Matrix<T, M, N>, 0, MatStride>;

typedef ThisMatMap

using muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::ThisMatMap =  std::conditional_t<IsConst, ConstMatMap, NonConstMatMap>;

Public Functions Documentation

function FieldEntryViewerCore [1/3]

inline MUDA_GENERIC muda::FieldEntryViewerCore::FieldEntryViewerCore () 

function FieldEntryViewerCore [2/3]

inline MUDA_GENERIC muda::FieldEntryViewerCore::FieldEntryViewerCore (
    HostDeviceConfigView < FieldEntryCore > core,
    int offset,
    int size
) 

function FieldEntryViewerCore [3/3]

MUDA_GENERIC muda::FieldEntryViewerCore::FieldEntryViewerCore (
    const FieldEntryViewerCore &
) = default

function data [1/3]

inline MUDA_GENERIC T * muda::FieldEntryViewerCore::data (
    int i
) const

function data [2/3]

inline MUDA_GENERIC T * muda::FieldEntryViewerCore::data (
    int i,
    int j
) const

function data [3/3]

inline MUDA_GENERIC T * muda::FieldEntryViewerCore::data (
    int i,
    int row_index,
    int col_index
) const

function elem_byte_size

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::elem_byte_size () const

function entry_name

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::entry_name () const

function layout

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::layout () const

function layout_info

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::layout_info () const

function offset

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::offset () const

function shape

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::shape () const

function size

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::size () const

function struct_stride

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::struct_stride () const

function total_count

inline MUDA_GENERIC auto muda::FieldEntryViewerCore::total_count () const

Protected Types Documentation

typedef auto_const_t

using muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::auto_const_t =  typename Base::template auto_const_t<U>;

Protected Attributes Documentation

variable m_core

HostDeviceConfigView<FieldEntryCore> muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::m_core;

variable m_offset

int muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::m_offset;

variable m_size

int muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::m_size;

variable m_stride

MatStride muda::FieldEntryViewerCore< IsConst, T, Layout, M, N >::m_stride;


The documentation for this class was generated from the following file src/muda/ext/field/field_entry_viewer.h