Thrust

◆ per_device_allocator() [1/3]

template<typename T, typename Upstream, typename ExecutionPolicy>
__host__ thrust::per_device_allocator< T, Upstream, ExecutionPolicy >::per_device_allocator ( )

Default constructor. Uses get_global_resource to get the global instance of Upstream and initializes the allocator base subobject with that resource.

References thrust::get_per_device_resource().