Skip to content

Class muda::DeviceVar

template <typename T>

ClassList > muda > DeviceVar

Public Types

Type Name
typedef T value_type

Public Functions

Type Name
DeviceVar ()
DeviceVar (const T & value)
DeviceVar (const DeviceVar & other)
DeviceVar (DeviceVar && other)
void copy_from (CVarView< T > other)
CDense< T > cviewer () const
T * data ()
const T * data () const
operator CVarView< T > () const
operator T () const
operator VarView< T > ()
DeviceVar & operator= (const DeviceVar< T > & other)
DeviceVar & operator= (DeviceVar< T > && other)
DeviceVar & operator= (CVarView< T > other)
DeviceVar & operator= (const T & val)
VarView< T > view ()
CVarView< T > view () const
Dense< T > viewer ()
~DeviceVar ()

Public Types Documentation

typedef value_type

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

Public Functions Documentation

function DeviceVar [1/4]

muda::DeviceVar::DeviceVar () 

function DeviceVar [2/4]

muda::DeviceVar::DeviceVar (
    const T & value
) 

function DeviceVar [3/4]

muda::DeviceVar::DeviceVar (
    const DeviceVar & other
) 

function DeviceVar [4/4]

muda::DeviceVar::DeviceVar (
    DeviceVar && other
) 

function copy_from

void muda::DeviceVar::copy_from (
    CVarView < T > other
) 

function cviewer

CDense < T > muda::DeviceVar::cviewer () const

function data [1/2]

inline T * muda::DeviceVar::data () 

function data [2/2]

inline const T * muda::DeviceVar::data () const

function operator CVarView< T >

inline muda::DeviceVar::operator CVarView< T > () const

function operator T

muda::DeviceVar::operator T () const

function operator VarView< T >

inline muda::DeviceVar::operator VarView< T > () 

function operator=

DeviceVar & muda::DeviceVar::operator= (
    const DeviceVar < T > & other
) 

function operator=

DeviceVar & muda::DeviceVar::operator= (
    DeviceVar < T > && other
) 

function operator=

DeviceVar & muda::DeviceVar::operator= (
    CVarView < T > other
) 

function operator=

DeviceVar & muda::DeviceVar::operator= (
    const T & val
) 

function view [1/2]

inline VarView < T > muda::DeviceVar::view () 

function view [2/2]

inline CVarView < T > muda::DeviceVar::view () const

function viewer

Dense < T > muda::DeviceVar::viewer () 

function ~DeviceVar

muda::DeviceVar::~DeviceVar () 


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