Skip to content

Class muda::DeviceBuffer3D

template <typename T>

ClassList > muda > DeviceBuffer3D

Public Types

Type Name
typedef T value_type

Public Functions

Type Name
DeviceBuffer3D (const Extent3D & n)
DeviceBuffer3D ()
DeviceBuffer3D (const DeviceBuffer3D< T > & other)
DeviceBuffer3D (DeviceBuffer3D && other)
DeviceBuffer3D (CBuffer3DView< T > other)
auto capacity () const
void clear ()
void copy_from (const std::vector< T > & host)
void copy_to (std::vector< T > & host) const
CDense3D< T > cviewer () const
T * data ()
const T * data () const
auto extent () const
void fill (const T & v)
operator Buffer3DView< T > ()
operator CBuffer3DView< T > () const
DeviceBuffer3D & operator= (const DeviceBuffer3D< T > & other)
DeviceBuffer3D & operator= (DeviceBuffer3D< T > && other)
DeviceBuffer3D & operator= (CBuffer3DView< T > other)
auto pitch_bytes () const
auto pitch_bytes_area () const
void reserve (Extent3D new_capacity)
void resize (Extent3D new_size)
void resize (Extent3D new_size, const T & value)
void shrink_to_fit ()
auto total_size () const
Buffer3DView< T > view (Offset3D offset, Extent3D extent={})
Buffer3DView< T > view ()
CBuffer3DView< T > view (Offset3D offset, Extent3D extent={}) const
CBuffer3DView< T > view () const
Dense3D< T > viewer ()
~DeviceBuffer3D ()

Public Types Documentation

typedef value_type

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

Public Functions Documentation

function DeviceBuffer3D [1/5]

muda::DeviceBuffer3D::DeviceBuffer3D (
    const Extent3D & n
) 

function DeviceBuffer3D [2/5]

muda::DeviceBuffer3D::DeviceBuffer3D () 

function DeviceBuffer3D [3/5]

muda::DeviceBuffer3D::DeviceBuffer3D (
    const DeviceBuffer3D < T > & other
) 

function DeviceBuffer3D [4/5]

muda::DeviceBuffer3D::DeviceBuffer3D (
    DeviceBuffer3D && other
) 

function DeviceBuffer3D [5/5]

muda::DeviceBuffer3D::DeviceBuffer3D (
    CBuffer3DView < T > other
) 

function capacity

inline auto muda::DeviceBuffer3D::capacity () const

function clear

void muda::DeviceBuffer3D::clear () 

function copy_from

void muda::DeviceBuffer3D::copy_from (
    const std::vector< T > & host
) 

function copy_to

void muda::DeviceBuffer3D::copy_to (
    std::vector< T > & host
) const

function cviewer

inline CDense3D < T > muda::DeviceBuffer3D::cviewer () const

function data [1/2]

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

function data [2/2]

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

function extent

inline auto muda::DeviceBuffer3D::extent () const

function fill

void muda::DeviceBuffer3D::fill (
    const T & v
) 

function operator Buffer3DView< T >

inline muda::DeviceBuffer3D::operator Buffer3DView< T > () 

function operator CBuffer3DView< T >

inline muda::DeviceBuffer3D::operator CBuffer3DView< T > () const

function operator=

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

function operator=

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

function operator=

DeviceBuffer3D & muda::DeviceBuffer3D::operator= (
    CBuffer3DView < T > other
) 

function pitch_bytes

inline auto muda::DeviceBuffer3D::pitch_bytes () const

function pitch_bytes_area

inline auto muda::DeviceBuffer3D::pitch_bytes_area () const

function reserve

void muda::DeviceBuffer3D::reserve (
    Extent3D new_capacity
) 

function resize [1/2]

void muda::DeviceBuffer3D::resize (
    Extent3D new_size
) 

function resize [2/2]

void muda::DeviceBuffer3D::resize (
    Extent3D new_size,
    const T & value
) 

function shrink_to_fit

void muda::DeviceBuffer3D::shrink_to_fit () 

function total_size

inline auto muda::DeviceBuffer3D::total_size () const

function view [1/4]

inline Buffer3DView < T > muda::DeviceBuffer3D::view (
    Offset3D offset,
    Extent3D extent={}
) 

function view [2/4]

inline Buffer3DView < T > muda::DeviceBuffer3D::view () 

function view [3/4]

inline CBuffer3DView < T > muda::DeviceBuffer3D::view (
    Offset3D offset,
    Extent3D extent={}
) const

function view [4/4]

inline CBuffer3DView < T > muda::DeviceBuffer3D::view () const

function viewer

inline Dense3D < T > muda::DeviceBuffer3D::viewer () 

function ~DeviceBuffer3D

muda::DeviceBuffer3D::~DeviceBuffer3D () 


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