Class Data_Namespace::detail::TypedThrustAllocatorState¶
-
class
TypedThrustAllocatorState
¶ Manages the underlying state of a TypedThrustAllocator. The state consists of: DataMgrMemoryResource: this instance holds onto a pointer of the ThrustAllocator which performs generic allocations thrust::device_ptr_memory_resource: this instance is an adapter that converts the pointer returned from the DataMgrMemoryResource to a thrust::device_ptr.
Subclassed by Data_Namespace::TypedThrustAllocator< T >
Public Types
-
using
Pointer
= thrust::pointer<void, thrust::device_system_tag, thrust::use_default, thrust::use_default>¶
Public Functions
-
TypedThrustAllocatorState
(ThrustAllocator &thrust_allocator)¶
-
TypedThrustAllocatorState
(const TypedThrustAllocatorState &other)¶
-
TypedThrustAllocatorState
(TypedThrustAllocatorState &&other)¶
-
__host__ __device__ void Data_Namespace::detail::TypedThrustAllocatorState::operator=(const TypedThrustAllocatorState & other)
Protected Attributes
-
DeviceResource
device_rsrc_
¶
-
using