Class muda::DeviceBuffer2D
template <typename T>
ClassList > muda > DeviceBuffer2D
Public Types
Type | Name |
---|---|
typedef T | value_type |
Public Functions
Type | Name |
---|---|
DeviceBuffer2D (const Extent2D & n) |
|
DeviceBuffer2D () |
|
DeviceBuffer2D (const DeviceBuffer2D< T > & other) |
|
DeviceBuffer2D (DeviceBuffer2D && other) |
|
DeviceBuffer2D (CBuffer2DView< T > other) |
|
auto | capacity () const |
void | clear () |
void | copy_from (const std::vector< T > & host) |
void | copy_to (std::vector< T > & host) const |
CDense2D< T > | cviewer () const |
T * | data () |
const T * | data () const |
auto | extent () const |
void | fill (const T & v) |
operator Buffer2DView< T > () |
|
operator CBuffer2DView< T > () const |
|
DeviceBuffer2D & | operator= (const DeviceBuffer2D< T > & other) |
DeviceBuffer2D & | operator= (DeviceBuffer2D< T > && other) |
DeviceBuffer2D & | operator= (CBuffer2DView< T > other) |
auto | pitch_bytes () const |
void | reserve (Extent2D new_capacity) |
void | resize (Extent2D new_extent) |
void | resize (Extent2D new_extent, const T & value) |
void | shrink_to_fit () |
auto | total_size () const |
Buffer2DView< T > | view (Offset2D offset, Extent2D extent={}) |
Buffer2DView< T > | view () |
CBuffer2DView< T > | view (Offset2D offset, Extent2D extent={}) const |
CBuffer2DView< T > | view () const |
Dense2D< T > | viewer () |
~DeviceBuffer2D () |
Public Types Documentation
typedef value_type
Public Functions Documentation
function DeviceBuffer2D [1/5]
function DeviceBuffer2D [2/5]
function DeviceBuffer2D [3/5]
function DeviceBuffer2D [4/5]
function DeviceBuffer2D [5/5]
function capacity
function clear
function copy_from
function copy_to
function cviewer
function data [1/2]
function data [2/2]
function extent
function fill
function operator Buffer2DView< T >
function operator CBuffer2DView< T >
function operator=
function operator=
function operator=
function pitch_bytes
function reserve
function resize [1/2]
function resize [2/2]
function shrink_to_fit
function total_size
function view [1/4]
function view [2/4]
function view [3/4]
function view [4/4]
function viewer
function ~DeviceBuffer2D
The documentation for this class was generated from the following file src/muda/buffer/device_buffer_2d.h