rocPRIM
Classes | Typedefs | Functions
Utilsmodule_typetraits

Classes

struct  is_floating_point< T >
 Behaves like std::is_floating_point, but also includes half-precision and bfloat16-precision floating point type (rocprim::half). More...
 
struct  is_arithmetic< T >
 Behaves like std::is_arithmetic, but also includes half-precision and bfloat16-precision floating point type (rocprim::half). More...
 
struct  is_fundamental< T >
 Behaves like std::is_fundamental, but also includes half-precision and bfloat16-precision floating point type (rocprim::half). More...
 
struct  is_signed< T >
 Behaves like std::is_signed, but also includes half-precision and bfloat16-precision floating point type (rocprim::half). More...
 
struct  is_scalar< T >
 Behaves like std::is_scalar, but also includes half-precision and bfloat16-precision floating point type (rocprim::half). More...
 
struct  is_compound< T >
 Behaves like std::is_compound, but also supports half-precision floating point type (rocprim::half). More...
 
struct  get_unsigned_bits_type< T, size >
 Used to retrieve a type that can be treated as unsigned version of the template parameter. More...
 
struct  get_unsigned_bits_type< T, 1 >
 
struct  get_unsigned_bits_type< T, 2 >
 
struct  get_unsigned_bits_type< T, 4 >
 
struct  get_unsigned_bits_type< T, 8 >
 

Typedefs

template<class T >
using is_integral = std::is_integral< T >
 Alias for std::is_integral.
 
template<class T >
using is_unsigned = std::is_unsigned< T >
 Alias for std::is_unsigned.
 

Functions

template<typename T , typename UnsignedBits >
ROCPRIM_DEVICE ROCPRIM_INLINE auto TwiddleIn (UnsignedBits key) -> typename std::enable_if< is_floating_point< T >::value, UnsignedBits >::type
 
template<typename T , typename UnsignedBits >
ROCPRIM_DEVICE ROCPRIM_INLINE auto TwiddleOut (UnsignedBits key) -> typename std::enable_if< is_floating_point< T >::value, UnsignedBits >::type
 

Detailed Description