Skip to content

Class muda::FieldEntryBase

ClassList > muda > FieldEntryBase

Inherited by the following classes: muda::FieldEntry

Public Functions

Type Name
FieldEntryBase (SubField & field, FieldEntryLayoutInfo layout_info, FieldEntryType type, uint2 shape, uint32_t m_elem_byte_size, std::string_view name)
MUDA_GENERIC auto count () 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 shape () const
MUDA_GENERIC auto struct_stride () const
~FieldEntryBase () = default

Protected Attributes

Type Name
FieldEntryCore m_core
SubField & m_field
HostDeviceConfig< FieldEntryCore > m_host_device_core
std::string m_name

Protected Functions

Type Name
FieldEntryBase (const FieldEntryBase &) = delete
virtual void async_copy_to_new_place (HostDeviceConfigView< FieldEntryCore > vfc) const = 0
MUDA_GENERIC const auto & core () const
FieldEntryBase & operator= (const FieldEntryBase &) = delete

Public Functions Documentation

function FieldEntryBase [1/2]

inline muda::FieldEntryBase::FieldEntryBase (
    SubField & field,
    FieldEntryLayoutInfo layout_info,
    FieldEntryType type,
    uint2 shape,
    uint32_t m_elem_byte_size,
    std::string_view name
) 

function count

inline MUDA_GENERIC auto muda::FieldEntryBase::count () const

function elem_byte_size

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

function layout

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

function layout_info

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

function name

inline MUDA_GENERIC auto muda::FieldEntryBase::name () const

function shape

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

function struct_stride

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

function ~FieldEntryBase

muda::FieldEntryBase::~FieldEntryBase () = default

Protected Attributes Documentation

variable m_core

FieldEntryCore muda::FieldEntryBase::m_core;

variable m_field

SubField& muda::FieldEntryBase::m_field;

variable m_host_device_core

HostDeviceConfig<FieldEntryCore> muda::FieldEntryBase::m_host_device_core;

variable m_name

std::string muda::FieldEntryBase::m_name;

Protected Functions Documentation

function FieldEntryBase [2/2]

muda::FieldEntryBase::FieldEntryBase (
    const FieldEntryBase &
) = delete

function async_copy_to_new_place

virtual void muda::FieldEntryBase::async_copy_to_new_place (
    HostDeviceConfigView < FieldEntryCore > vfc
) const = 0

function core

inline MUDA_GENERIC const auto & muda::FieldEntryBase::core () const

function operator=

FieldEntryBase & muda::FieldEntryBase::operator= (
    const FieldEntryBase &
) = delete


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