OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::Uninitialized< T > Struct Template Reference

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

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 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.
 

Member Typedef Documentation

◆ DeviceWord

template<typename T >
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.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum

Definition at line 639 of file util_type.cuh.

Member Function Documentation

◆ Alias()

template<typename T >
__host__ __device__ __forceinline__ T & cub::Uninitialized< T >::Alias ( )
inline

Alias.

Definition at line 648 of file util_type.cuh.

Field Documentation

◆ storage

template<typename T >
DeviceWord cub::Uninitialized< T >::storage[WORDS]

Backing storage.

Definition at line 645 of file util_type.cuh.


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