ShiftDigitExtractor< KeyT > Struct Template Reference

ShiftDigitExtractor&lt; KeyT &gt; Struct Template Reference#

hipCUB: hipcub::ShiftDigitExtractor< KeyT > Struct Template Reference
hipcub::ShiftDigitExtractor< KeyT > Struct Template Reference

A wrapper type to extract digits. Uses a combination of shift and bitwise and to extract digits. More...

#include <radix_rank_sort_operations.hpp>

Inheritance diagram for hipcub::ShiftDigitExtractor< KeyT >:
hipcub::BaseDigitExtractor< KeyT >

Public Types

enum  { FLOAT_KEY = TraitsT::CATEGORY == FLOATING_POINT }
 
typedef Traits< KeyT > TraitsT
 
typedef TraitsT::UnsignedBits UnsignedBits
 

Public Member Functions

__device__ __forceinline__ ShiftDigitExtractor (uint32_t bit_start=0, uint32_t num_bits=0)
 
__device__ __forceinline__ uint32_t Digit (UnsignedBits key)
 

Static Public Member Functions

static __device__ __forceinline__ UnsignedBits ProcessFloatMinusZero (UnsignedBits key)
 

Public Attributes

uint32_t bit_start
 
uint32_t mask
 

Detailed Description

template<typename KeyT>
struct hipcub::ShiftDigitExtractor< KeyT >

A wrapper type to extract digits. Uses a combination of shift and bitwise and to extract digits.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.4.1/hipcub/include/hipcub/backend/rocprim/block/radix_rank_sort_operations.hpp