cub::ShiftDigitExtractor
Defined in cub/block/radix_rank_sort_operations.cuh
-
template<typename KeyT>
struct ShiftDigitExtractor : public cub::BaseDigitExtractor<KeyT> A wrapper type to extract digits.
Uses a combination of shift and bitwise and to extract digits.
Public Functions
-
inline explicit ShiftDigitExtractor(::cuda::std::uint32_t bit_start = 0, ::cuda::std::uint32_t num_bits = 0)
-
inline ::cuda::std::uint32_t Digit(UnsignedBits key) const
Public Static Functions
-
static inline UnsignedBits ProcessFloatMinusZero(UnsignedBits key)
-
inline explicit ShiftDigitExtractor(::cuda::std::uint32_t bit_start = 0, ::cuda::std::uint32_t num_bits = 0)