max_load_factor

max_load_factor#

stdgpu: stdgpu::unordered_map::max_load_factor
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ max_load_factor()

template<typename Key , typename T , typename Hash = hash<Key>, typename KeyEqual = equal_to<Key>, typename Allocator = safe_device_allocator<pair<const Key, T>>>
STDGPU_HOST_DEVICE float stdgpu::unordered_map< Key, T, Hash, KeyEqual, Allocator >::max_load_factor ( ) const

The maximum number of elements per bucket.

Returns
The maximum number of elements per bucket