Uninitialized< T > Struct Template Reference

Uninitialized&lt; T &gt; Struct Template Reference#

hipCUB: hipcub::Uninitialized< T > Struct Template Reference
hipcub::Uninitialized< T > Struct Template Reference

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

#include <util_type.hpp>

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.
 

Public Attributes

DeviceWord storage [WORDS]
 Backing storage.
 

Detailed Description

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

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


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.0.2/hipcub/include/hipcub/backend/rocprim/util_type.hpp