Get the unit representation of type T. More...
#include <base_types.hpp>
Public Types | |
| using | type = typename std::conditional< is_uint8, uint8_t, typename std::conditional< is_uint16, uint16_t, typename std::conditional< is_uint32, uint32_t, typename std::conditional< is_uint64, uint64_t, void >::type >::type >::type >::type |
Static Public Attributes | |
| static constexpr bool | is_uint8 = sizeof(T) == 1 |
| static constexpr bool | is_uint16 = sizeof(T) == 2 |
| static constexpr bool | is_uint32 = sizeof(T) == 4 |
| static constexpr bool | is_uint64 = sizeof(T) == 8 |
Get the unit representation of type T.
| using gpu::xetla::uint_type< T >::type = typename std::conditional<is_uint8, uint8_t, typename std::conditional<is_uint16, uint16_t, typename std::conditional<is_uint32, uint32_t, typename std::conditional<is_uint64, uint64_t, void>::type>::type>::type>::type |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |