thrust
|
thrust::system::cpp
is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's standard C++ 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::cpp
namespace for easy access.
More...
Classes | |
struct | allocator |
class | pointer |
class | reference |
class | vector |
Typedefs | |
typedef detail::native_resource | memory_resource |
typedef detail::native_resource | universal_memory_resource |
typedef detail::native_resource | universal_host_pinned_memory_resource |
Functions | |
pointer< void > | malloc (std::size_t n) |
void | free (pointer< void > ptr) |
template<typename T > | |
__host__ __device__ void | swap (reference< T > x, reference< T > y) |
thrust::system::cpp
is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's standard C++ 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::cpp
namespace for easy access.