thrust::universal_vector
Defined in thrust/universal_vector.h
-
template<typename T, typename Allocator = universal_allocator<T>>
using thrust::universal_vector = thrust::system::__THRUST_DEVICE_SYSTEM_NAMESPACE::universal_vector<T, Allocator> A
universal_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 auniversal_vector
may vary dynamically; memory management is automatic. The memory associated with auniversal_vector
resides in memory accessible to hosts and devices.See also
host_vector For the documentation of the complete interface which is shared by
universal_vector
.See also
See also
universal_host_pinned_vector