get_allocator

get_allocator#

stdgpu: stdgpu::mutex_array::get_allocator
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ get_allocator()

template<typename Block = mutex_default_type, typename Allocator = safe_device_allocator<Block>>
STDGPU_HOST_DEVICE allocator_type stdgpu::mutex_array< Block, Allocator >::get_allocator ( ) const
noexcept

Returns the container allocator.

Returns
The container allocator