count

count#

stdgpu: stdgpu::bitset::count
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ count() [1/2]

template<typename Block = bitset_default_type, typename Allocator = safe_device_allocator<Block>>
index_t stdgpu::bitset< Block, Allocator >::count ( ) const

The number of set bits.

Returns
The number of set bits