OmniSciDB
a5dc49c757
|
a Templated version of Data_Namespace::ThrustAllocator that can be used as a custom allocator in thrust device containers such as thrust::device_vector. Note that this class derives from thrust::mr::allocator in order to meet the requirements of an Allocator More...
#include <TypedThrustAllocator.h>
Public Member Functions | |
TypedThrustAllocator (ThrustAllocator &thrust_allocator) | |
TypedThrustAllocator (const TypedThrustAllocator &other) | |
TypedThrustAllocator (TypedThrustAllocator &&other) | |
__host__ __device__ void | operator= (const TypedThrustAllocator< T > &other) |
Public Member Functions inherited from Data_Namespace::detail::TypedThrustAllocatorState | |
TypedThrustAllocatorState (ThrustAllocator &thrust_allocator) | |
TypedThrustAllocatorState (const TypedThrustAllocatorState &other) | |
TypedThrustAllocatorState (TypedThrustAllocatorState &&other) | |
__host__ __device__ void | operator= (const TypedThrustAllocatorState &other) |
Private Types | |
using | Base = thrust::mr::allocator< T, detail::TypedThrustAllocatorState::DeviceResource > |
Additional Inherited Members | |
Public Types inherited from Data_Namespace::detail::TypedThrustAllocatorState | |
using | Pointer = thrust::pointer< void, thrust::device_system_tag, thrust::use_default, thrust::use_default > |
using | DeviceResource = thrust::device_ptr_memory_resource< DataMgrMemoryResource< Pointer >> |
Protected Attributes inherited from Data_Namespace::detail::TypedThrustAllocatorState | |
DataMgrMemoryResource< Pointer > | data_mgr_mem_rsrc_ |
DeviceResource | device_rsrc_ |
a Templated version of Data_Namespace::ThrustAllocator that can be used as a custom allocator in thrust device containers such as thrust::device_vector. Note that this class derives from thrust::mr::allocator in order to meet the requirements of an Allocator
Definition at line 136 of file TypedThrustAllocator.h.
|
private |
Definition at line 140 of file TypedThrustAllocator.h.
|
inline |
Definition at line 143 of file TypedThrustAllocator.h.
|
inline |
Definition at line 149 of file TypedThrustAllocator.h.
|
inline |
Definition at line 152 of file TypedThrustAllocator.h.
|
inline |
Definition at line 155 of file TypedThrustAllocator.h.
References Data_Namespace::detail::TypedThrustAllocatorState::operator=().