Thrust
|
◆ do_allocate()
template<typename Upstream, typename Bookkeeper>
Allocates memory of size at least
Implements thrust::mr::memory_resource< Upstream::pointer >. References thrust::mr::pool_options::alignment, thrust::mr::pool_options::cache_oversized, thrust::mr::pool_options::cached_alignment_cutoff_factor, thrust::mr::pool_options::cached_size_cutoff_factor, thrust::find_if(), thrust::mr::pool_options::largest_block_size, thrust::lower_bound(), thrust::mr::pool_options::max_blocks_per_chunk, thrust::mr::pool_options::max_bytes_per_chunk, thrust::mr::pool_options::min_blocks_per_chunk, thrust::mr::pool_options::min_bytes_per_chunk, and thrust::mr::pool_options::smallest_block_size. |