pk_float4_e2m1_t Struct Reference#
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
ck_tile::pk_float4_e2m1_t Struct Reference
#include <pk_fp4.hpp>
Public Types | |
| using | raw_type = uint8_t |
| using | type = raw_type |
Static Public Member Functions | |
| CK_TILE_HOST_DEVICE static constexpr pk_float4_e2m1_t | pack (const pk_float4_e2m1_t &x0, const pk_float4_e2m1_t &x1) |
| CK_TILE_HOST_DEVICE static constexpr type | _pack (const type x0, const type x1) |
Public Attributes | |
| type | data |
Member Typedef Documentation
◆ raw_type
◆ type
Constructor & Destructor Documentation
◆ pk_float4_e2m1_t() [1/3]
|
inlineconstexpr |
◆ pk_float4_e2m1_t() [2/3]
template<typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
|
inlineconstexpr |
◆ pk_float4_e2m1_t() [3/3]
|
inlineexplicitconstexpr |
Member Function Documentation
◆ _pack()
|
inlinestaticconstexpr |
◆ _unpack()
template<index_t I>
|
constexpr |
◆ get() [1/2]
|
inlineconstexpr |
◆ get() [2/2]
|
inlineconstexpr |
◆ operator bf16_t()
|
inlineconstexpr |
◆ operator bf16x2_t()
|
inlineconstexpr |
◆ operator float()
|
inlineconstexpr |
◆ operator fp16_t()
|
inlineconstexpr |
◆ operator fp16x2_t()
|
inlineconstexpr |
◆ operator fp32x2_t()
|
inlineconstexpr |
◆ operator type()
|
inlineconstexpr |
◆ pack()
|
inlinestaticconstexpr |
◆ to_bf16()
|
constexpr |
◆ to_bf16x2()
|
constexpr |
◆ to_float()
|
constexpr |
◆ to_fp16()
|
constexpr |
◆ to_fp16x2()
|
constexpr |
◆ to_fp32x2()
|
constexpr |
◆ unpack()
template<index_t I>
|
inlineconstexpr |
Member Data Documentation
◆ data
| type ck_tile::pk_float4_e2m1_t::data |
The documentation for this struct was generated from the following file: