Uninitialized< T > Struct Template Reference#
Public Types |
Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
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 | |
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. | |
Static Public Attributes | |
static constexpr std::size_t | DATA_SIZE = sizeof(T) |
static constexpr std::size_t | WORD_SIZE = sizeof(DeviceWord) |
static constexpr std::size_t | WORDS = DATA_SIZE / WORD_SIZE |
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.5.1/hipcub/include/hipcub/backend/rocprim/util_type.hpp