Thrust
|
#include <thrust/device_vector.h>
Public Member Functions | |
device_vector (void) | |
device_vector (const Alloc &alloc) | |
~device_vector (void) | |
device_vector (size_type n) | |
device_vector (size_type n, const Alloc &alloc) | |
device_vector (size_type n, const value_type &value) | |
device_vector (size_type n, const value_type &value, const Alloc &alloc) | |
device_vector (const device_vector &v) | |
device_vector (const device_vector &v, const Alloc &alloc) | |
device_vector (device_vector &&v) | |
device_vector (device_vector &&v, const Alloc &alloc) | |
device_vector & | operator= (const device_vector &v) |
device_vector & | operator= (device_vector &&v) |
template<typename OtherT , typename OtherAlloc > | |
device_vector (const device_vector< OtherT, OtherAlloc > &v) | |
template<typename OtherT , typename OtherAlloc > | |
device_vector & | operator= (const device_vector< OtherT, OtherAlloc > &v) |
template<typename OtherT , typename OtherAlloc > | |
device_vector (const std::vector< OtherT, OtherAlloc > &v) | |
template<typename OtherT , typename OtherAlloc > | |
device_vector & | operator= (const std::vector< OtherT, OtherAlloc > &v) |
template<typename OtherT , typename OtherAlloc > | |
device_vector (const detail::vector_base< OtherT, OtherAlloc > &v) | |
template<typename OtherT , typename OtherAlloc > | |
device_vector & | operator= (const detail::vector_base< OtherT, OtherAlloc > &v) |
template<typename InputIterator > | |
device_vector (InputIterator first, InputIterator last) | |
template<typename InputIterator > | |
device_vector (InputIterator first, InputIterator last, const Alloc &alloc) | |
A device_vector
is a container that supports random access to elements, constant time removal of elements at the end, and linear time insertion and removal of elements at the beginning or in the middle. The number of elements in a device_vector
may vary dynamically; memory management is automatic. The memory associated with a device_vector
resides in the memory accessible to devices.