BFEDigitExtractor< KeyT > Struct Template Reference

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

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

A wrapper type to extract digits. Uses the BFE intrinsic to extract a key from a digit. More...

#include <radix_rank_sort_operations.hpp>

Inheritance diagram for hipcub::BFEDigitExtractor< 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__ BFEDigitExtractor (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 num_bits
 

Detailed Description

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

A wrapper type to extract digits. Uses the BFE intrinsic to extract a key from a digit.


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.3/hipcub/include/hipcub/backend/rocprim/block/radix_rank_sort_operations.hpp