CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Types | Public Methods | Public Members | List of all members
cub::Uninitialized< T > Struct Template Reference

Detailed description

template< typename T>
struct cub::Uninitialized< T >

A storage-backing wrapper that allows types with non-trivial constructors to be aliased in unions.

Definition at line 481 of file util_type.cuh.

Public Types

enum  { WORDS = sizeof(T) / sizeof(DeviceWord) }
 
typedef UnitWord< T >::DeviceWord DeviceWord
 Biggest memory-access word that T is a whole multiple of and is not larger than the alignment of T.
 

Public Methods

__host__ __device__
__forceinline__ T & 
Alias ()
 Alias.
 

Public Members

DeviceWord storage [WORDS]
 Backing storage.
 

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