Containers
template <typename T, typename Alloc = thrust::device_allocator<T>> class thrust::device_vector;
template <typename T, typename Alloc> void thrust::swap(device_vector< T, Alloc > & a, device_vector< T, Alloc > & b);
Member Classes
Class thrust::device_vector
Inherits From: detail::vector_base< T, thrust::device_allocator< T > >
Functions
Function thrust::swap
template <typename T, typename Alloc> void swap(device_vector< T, Alloc > & a, device_vector< T, Alloc > & b);
Exchanges the values of two vectors. x
The first device_vector
of interest. y
The second device_vector
of interest.