A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stotko.github.io/stdgpu/doxygen/group__bit_ga9d30d2439cae63bb2c991643f9dd9755.html below:

popcount — stdgpu Latest documentation

popcount# stdgpu: stdgpu::popcount

stdgpu Latest

Efficient STL-like Data Structures on the GPU

bit_cast bit_ceil bit_floor bit_mod bit_width has_single_bit popcount ◆ popcount()

template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) >

STDGPU_HOST_DEVICE int stdgpu::popcount ( const T  number ) noexcept

Counts the number of set bits in the number.

Parameters
[in] number A number
Returns
The number of set bits
Postcondition
result >= 0
result <= numeric_limits<T>::digits
Generated by  1.9.6

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4