OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T > Struct Template Reference

Detailed Description

template<typename _UnsignedBits, typename T>
struct cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >

Basic type traits (fp primitive specialization)

Definition at line 1087 of file util_type.cuh.

Public Types

enum  { PRIMITIVE = true , NULL_TYPE = false }
 
typedef _UnsignedBits UnsignedBits
 

Static Public Member Functions

static __device__ __forceinline__ UnsignedBits TwiddleIn (UnsignedBits key)
 
static __device__ __forceinline__ UnsignedBits TwiddleOut (UnsignedBits key)
 
static __host__ __device__ __forceinline__ T Max ()
 
static __host__ __device__ __forceinline__ T Lowest ()
 

Static Public Attributes

static const Category CATEGORY = FLOATING_POINT
 
static const UnsignedBits HIGH_BIT = UnsignedBits(1) << ((sizeof(UnsignedBits) * 8) - 1)
 
static const UnsignedBits LOWEST_KEY = UnsignedBits(-1)
 
static const UnsignedBits MAX_KEY = UnsignedBits(-1) ^ HIGH_BIT
 

Member Typedef Documentation

◆ UnsignedBits

template<typename _UnsignedBits , typename T >
typedef _UnsignedBits cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::UnsignedBits

Definition at line 1089 of file util_type.cuh.

Member Enumeration Documentation

◆ anonymous enum

template<typename _UnsignedBits , typename T >
anonymous enum

Definition at line 1096 of file util_type.cuh.

Member Function Documentation

◆ Lowest()

template<typename _UnsignedBits , typename T >
static __host__ __device__ __forceinline__ T cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::Lowest ( )
inlinestatic

Definition at line 1118 of file util_type.cuh.

◆ Max()

template<typename _UnsignedBits , typename T >
static __host__ __device__ __forceinline__ T cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::Max ( )
inlinestatic

Definition at line 1114 of file util_type.cuh.

◆ TwiddleIn()

template<typename _UnsignedBits , typename T >
static __device__ __forceinline__ UnsignedBits cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::TwiddleIn ( UnsignedBits  key)
inlinestatic

Definition at line 1102 of file util_type.cuh.

◆ TwiddleOut()

template<typename _UnsignedBits , typename T >
static __device__ __forceinline__ UnsignedBits cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::TwiddleOut ( UnsignedBits  key)
inlinestatic

Definition at line 1108 of file util_type.cuh.

Field Documentation

◆ CATEGORY

template<typename _UnsignedBits , typename T >
const Category cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::CATEGORY = FLOATING_POINT
static

Definition at line 1091 of file util_type.cuh.

◆ HIGH_BIT

template<typename _UnsignedBits , typename T >
const UnsignedBits cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::HIGH_BIT = UnsignedBits(1) << ((sizeof(UnsignedBits) * 8) - 1)
static

Definition at line 1092 of file util_type.cuh.

◆ LOWEST_KEY

template<typename _UnsignedBits , typename T >
const UnsignedBits cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::LOWEST_KEY = UnsignedBits(-1)
static

Definition at line 1093 of file util_type.cuh.

◆ MAX_KEY

template<typename _UnsignedBits , typename T >
const UnsignedBits cub::BaseTraits< FLOATING_POINT, true, false, _UnsignedBits, T >::MAX_KEY = UnsignedBits(-1) ^ HIGH_BIT
static

Definition at line 1094 of file util_type.cuh.


The documentation for this struct was generated from the following file: