f8_ocp_t Struct Reference#
Public Types |
Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
ck::f8_ocp_t Struct Reference
#include <amd_ck_fp8.hpp>
Public Types | |
using | data_type = fp8_storage_t |
Public Member Functions | |
__host__ constexpr __device__ bool | operator== (const f8_ocp_t &other) const |
__host__ | operator float () const |
__host__ | operator _Float16 () const |
Public Attributes | |
data_type | data |
Static Public Attributes | |
static constexpr ck_saturation_t | default_saturation = ck_saturation_t::CK_SATFINITE |
static constexpr ck_fp8_interpretation_t | default_interpret |
static constexpr unsigned int | we = 4 |
static constexpr unsigned int | wm = 3 |
Member Typedef Documentation
◆ data_type
using ck::f8_ocp_t::data_type = fp8_storage_t |
Member Function Documentation
◆ operator _Float16()
|
inlineexplicit |
◆ operator float()
|
inlineexplicit |
◆ operator==()
|
inlineconstexpr |
Member Data Documentation
◆ data
data_type ck::f8_ocp_t::data |
◆ default_interpret
|
staticconstexpr |
Initial value:
◆ default_saturation
|
staticconstexpr |
◆ we
|
staticconstexpr |
◆ wm
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- include/ck/utility/amd_ck_fp8.hpp