Bolt
1.3
C++ template library with support for OpenCL
|
A writeable element of the container The location of an element of the container may not actually reside in system memory, but rather in device memory, which may be in a partitioned memory space. Access to a reference of the container results in a mapping and unmapping operation of device memory. More...
#include <device_vector.h>
Public Member Functions | |
reference_base (Container &rhs, size_type index) | |
operator value_type () const | |
reference_base< Container > & | operator= (const value_type &rhs) |
reference_base< Container > & | operator= (reference_base< Container > &rhs) |
Container & | getContainer () const |
A get accessor function to return the encapsulated device_vector. | |
size_type | getIndex () const |
A writeable element of the container The location of an element of the container may not actually reside in system memory, but rather in device memory, which may be in a partitioned memory space. Access to a reference of the container results in a mapping and unmapping operation of device memory.