A storage-backing wrapper that allows types with non-trivial constructors to be aliased in unions. More...
A storage-backing wrapper that allows types with non-trivial constructors to be aliased in unions.
Definition at line 634 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 Member Functions | |
__host__ __device__ __forceinline__ T & | Alias () |
Alias. | |
Data Fields | |
DeviceWord | storage [WORDS] |
Backing storage. | |
typedef UnitWord<T>::DeviceWord cub::Uninitialized< T >::DeviceWord |
Biggest memory-access word that T is a whole multiple of and is not larger than the alignment of T.
Definition at line 637 of file util_type.cuh.
anonymous enum |
Definition at line 639 of file util_type.cuh.
|
inline |
Alias.
Definition at line 648 of file util_type.cuh.
DeviceWord cub::Uninitialized< T >::storage[WORDS] |
Backing storage.
Definition at line 645 of file util_type.cuh.