stdgpu/bit.h File Reference#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
bit.h File Reference
Go to the source code of this file.
Functions | |
template<typename To , typename From , STDGPU_DETAIL_OVERLOAD_IF(sizeof(To)==sizeof(From) &&std::is_trivially_copyable_v< To > && std::is_trivially_copyable_v< From >) > | |
STDGPU_HOST_DEVICE To | stdgpu::bit_cast (const From &object) noexcept |
template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) > | |
STDGPU_HOST_DEVICE T | stdgpu::bit_ceil (const T number) noexcept |
template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) > | |
STDGPU_HOST_DEVICE T | stdgpu::bit_floor (const T number) noexcept |
template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) > | |
STDGPU_HOST_DEVICE T | stdgpu::bit_mod (const T number, const T divider) noexcept |
template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) > | |
STDGPU_HOST_DEVICE T | stdgpu::bit_width (const T number) noexcept |
template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) > | |
STDGPU_HOST_DEVICE bool | stdgpu::has_single_bit (const T number) noexcept |
template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) > | |
STDGPU_HOST_DEVICE int | stdgpu::popcount (const T number) noexcept |
Generated by 1.9.6