Skip to content

Class muda::HostDeviceConfigView

template <typename T>

ClassList > muda > HostDeviceConfigView

Inherits the following classes: muda::ViewBase

Public Types

Type Name
typedef T value_type

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 HostDeviceConfigView (const T * host_data, const T * device_data)
MUDA_GENERIC const T * data () const
MUDA_GENERIC const T * device_data () const
MUDA_GENERIC const T * host_data () const
MUDA_GENERIC const T & operator* () const
MUDA_GENERIC const T * operator-> () const

Public Types Documentation

typedef value_type

using muda::HostDeviceConfigView< T >::value_type =  T;

Public Functions Documentation

function HostDeviceConfigView

inline MUDA_GENERIC muda::HostDeviceConfigView::HostDeviceConfigView (
    const T * host_data,
    const T * device_data
) 

function data

inline MUDA_GENERIC const T * muda::HostDeviceConfigView::data () const

function device_data

inline MUDA_GENERIC const T * muda::HostDeviceConfigView::device_data () const

function host_data

inline MUDA_GENERIC const T * muda::HostDeviceConfigView::host_data () const

function operator*

inline MUDA_GENERIC const T & muda::HostDeviceConfigView::operator* () const

function operator->

inline MUDA_GENERIC const T * muda::HostDeviceConfigView::operator-> () const


The documentation for this class was generated from the following file src/muda/tools/host_device_config.h