cub::BFEDigitExtractor

Defined in cub/block/radix_rank_sort_operations.cuh

template<typename KeyT>
struct BFEDigitExtractor : public cub::BaseDigitExtractor<KeyT>

A wrapper type to extract digits.

Uses the BFE intrinsic to extract a key from a digit.

Public Types

using TraitsT = Traits<KeyT>
using UnsignedBits = typename TraitsT::UnsignedBits

Public Functions

inline explicit BFEDigitExtractor(::cuda::std::uint32_t bit_start = 0, ::cuda::std::uint32_t num_bits = 0)
inline ::cuda::std::uint32_t Digit(UnsignedBits key) const

Public Members

::cuda::std::uint32_t bit_start
::cuda::std::uint32_t num_bits

Public Static Functions

static inline UnsignedBits ProcessFloatMinusZero(UnsignedBits key)