max_load_factor

max_load_factor#

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

◆ max_load_factor()

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

The maximum number of elements per bucket.

Returns
The maximum number of elements per bucket