thrust
Modules | Classes | Typedefs | Functions
Memory Management Classes

Modules

 Memory Resources
 

Classes

class  thrust::device_malloc_allocator< T >
 
class  thrust::device_new_allocator< T >
 
class  thrust::device_reference< T >
 
class  thrust::device_ptr< T >
 
struct  thrust::mr::allocator< T, MR >::rebind< U >
 
class  thrust::mr::allocator< T, MR >
 
struct  thrust::mr::stateless_resource_allocator< T, Upstream >::rebind< U >
 
class  thrust::mr::stateless_resource_allocator< T, Upstream >
 
struct  thrust::mr::pool_options
 
class  thrust::system::cuda::experimental::pinned_allocator< T >
 

Typedefs

typedef MR::pointer thrust::mr::allocator< T, MR >::void_pointer
 
typedef T thrust::mr::allocator< T, MR >::value_type
 
typedef thrust::detail::pointer_traits< void_pointer >::template rebind< T >::other thrust::mr::allocator< T, MR >::pointer
 
typedef thrust::detail::pointer_traits< void_pointer >::template rebind< const T >::other thrust::mr::allocator< T, MR >::const_pointer
 
typedef thrust::detail::pointer_traits< pointer >::reference thrust::mr::allocator< T, MR >::reference
 
typedef thrust::detail::pointer_traits< const_pointer >::reference thrust::mr::allocator< T, MR >::const_reference
 
typedef std::size_t thrust::mr::allocator< T, MR >::size_type
 
typedef thrust::detail::pointer_traits< pointer >::difference_type thrust::mr::allocator< T, MR >::difference_type
 
typedef detail::true_type thrust::mr::allocator< T, MR >::propagate_on_container_copy_assignment
 
typedef detail::true_type thrust::mr::allocator< T, MR >::propagate_on_container_move_assignment
 
typedef detail::true_type thrust::mr::allocator< T, MR >::propagate_on_container_swap
 
typedef allocator< U, MR > thrust::mr::allocator< T, MR >::rebind< U >::other
 
typedef stateless_resource_allocator< U, Upstream > thrust::mr::stateless_resource_allocator< T, Upstream >::rebind< U >::other
 
typedef T thrust::system::cuda::experimental::pinned_allocator< T >::value_type
 
typedef T * thrust::system::cuda::experimental::pinned_allocator< T >::pointer
 
typedef const T * thrust::system::cuda::experimental::pinned_allocator< T >::const_pointer
 
typedef T & thrust::system::cuda::experimental::pinned_allocator< T >::reference
 
typedef const T & thrust::system::cuda::experimental::pinned_allocator< T >::const_reference
 
typedef std::size_t thrust::system::cuda::experimental::pinned_allocator< T >::size_type
 
typedef std::ptrdiff_t thrust::system::cuda::experimental::pinned_allocator< T >::difference_type
 

Functions

template<typename T >
__host__ __device__ void thrust::swap (device_reference< T > x, device_reference< T > y)
 
__host__ __device__ size_type thrust::mr::allocator< T, MR >::max_size () const
 
__host__ __device__ thrust::mr::allocator< T, MR >::allocator (MR *resource)
 
template<typename U >
__host__ __device__ thrust::mr::allocator< T, MR >::allocator (const allocator< U, MR > &other)
 
__host__ pointer thrust::mr::allocator< T, MR >::allocate (size_type n)
 
__host__ void thrust::mr::allocator< T, MR >::deallocate (pointer p, size_type n)
 
__host__ __device__ MR * thrust::mr::allocator< T, MR >::resource () const
 
template<typename T , typename MR >
__host__ __device__ bool thrust::mr::operator== (const allocator< T, MR > &lhs, const allocator< T, MR > &rhs) noexcept
 
template<typename T , typename MR >
__host__ __device__ bool thrust::mr::operator!= (const allocator< T, MR > &lhs, const allocator< T, MR > &rhs) noexcept
 
 thrust::mr::polymorphic_allocator< T, Pointer >::polymorphic_allocator (polymorphic_adaptor_resource< Pointer > *resource)
 
__host__ thrust::mr::stateless_resource_allocator< T, Upstream >::stateless_resource_allocator ()
 
__host__ __device__ thrust::mr::stateless_resource_allocator< T, Upstream >::stateless_resource_allocator (const stateless_resource_allocator &other)
 
template<typename U >
__host__ __device__ thrust::mr::stateless_resource_allocator< T, Upstream >::stateless_resource_allocator (const stateless_resource_allocator< U, Upstream > &other)
 
__host__ __device__ thrust::mr::stateless_resource_allocator< T, Upstream >::~stateless_resource_allocator ()
 

Detailed Description