thrust
Namespaces | Classes | Typedefs | Functions
thrust::system::cuda Namespace Reference

thrust::system::cuda is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's CUDA backend system. The identifiers are provided in a separate namespace underneath thrust::system for import convenience but are also aliased in the top-level thrust::cuda namespace for easy access. More...

Namespaces

 errc
 

Classes

struct  allocator
 
class  pointer
 
class  reference
 
class  vector
 

Typedefs

typedef detail::device_memory_resource memory_resource
 
typedef detail::managed_memory_resource universal_memory_resource
 
typedef detail::pinned_memory_resource universal_host_pinned_memory_resource
 

Functions

__host__ __device__ pointer< void > malloc (std::size_t n)
 
__host__ __device__ void free (pointer< void > ptr)
 
template<typename T >
__host__ __device__ void swap (reference< T > x, reference< T > y)
 

Detailed Description

thrust::system::cuda is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's CUDA backend system. The identifiers are provided in a separate namespace underneath thrust::system for import convenience but are also aliased in the top-level thrust::cuda namespace for easy access.