CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Classes | Namespaces | Enumerations
util_type.cuh File Reference
#include <iostream>
#include <limits>
#include "util_macro.cuh"
#include "util_arch.cuh"
#include "util_namespace.cuh"

Go to the source code of this file.

Classes

struct  cub::If< IF, ThenType, ElseType >
 Type selection (IF ? ThenType : ElseType) More...
 
struct  cub::Equals< A, B >
 Type equality test. More...
 
struct  cub::NullType
 A simple "NULL" marker type. More...
 
struct  cub::Int2Type< A >
 Allows for the treatment of an integral constant as a type at compile-time (e.g., to achieve static call dispatch based on constant integral values) More...
 
struct  cub::CubVector< T, vec_elements >
 Exposes a member typedef Type that names the corresponding CUDA vector type if one exists. Otherwise Type refers to the CubVector structure itself, which will wrap the corresponding x, y, etc. vector fields. More...
 
struct  cub::Uninitialized< T >
 A storage-backing wrapper that allows types with non-trivial constructors to be aliased in unions. More...
 
struct  cub::ItemOffsetPair< _T, _Offset >
 An item value paired with a corresponding offset. More...
 
struct  cub::KeyValuePair< _Key, _Value >
 A key identifier paired with a corresponding value. More...
 
struct  cub::DoubleBuffer< T >
 Double-buffer storage wrapper for multi-pass stream transformations that require more than one storage array for streaming intermediate results back and forth. More...
 
struct  cub::Log2< N, CURRENT_VAL, COUNT >
 Statically determine log2(N), rounded up. More...
 
struct  cub::PowerOfTwo< N >
 Statically determine if N is a power-of-two. More...
 
struct  cub::BaseTraits< _CATEGORY, _PRIMITIVE, _NULL_TYPE, _UnsignedBits >
 Basic type traits. More...
 
struct  cub::NumericTraits< T >
 Numeric type traits. More...
 
struct  cub::Traits< T >
 Type traits. More...
 

Namespaces

 cub
 Optional outer namespace(s)
 

Enumerations

enum  cub::Category { NOT_A_NUMBER, SIGNED_INTEGER, UNSIGNED_INTEGER, FLOATING_POINT }
 Basic type traits categories.
 

Detailed Description

Common type manipulation (metaprogramming) utilities

Definition in file util_type.cuh.