bf8_ocp_t Struct Reference

bf8_ocp_t Struct Reference#

Composable Kernel: ck::bf8_ocp_t Struct Reference

#include <amd_ck_fp8.hpp>

Public Types

using data_type = fp8_storage_t

Public Member Functions

__host__ __device__ constexpr bool operator== (const bf8_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 = 5
static constexpr unsigned int wm = 2

Member Typedef Documentation

◆ data_type

Member Function Documentation

◆ operator _Float16()

__host__ ck::bf8_ocp_t::operator _Float16 ( ) const
inlineexplicit

◆ operator float()

__host__ ck::bf8_ocp_t::operator float ( ) const
inlineexplicit

◆ operator==()

__host__ __device__ constexpr bool ck::bf8_ocp_t::operator== ( const bf8_ocp_t & other) const
inlineconstexpr

Member Data Documentation

◆ data

data_type ck::bf8_ocp_t::data

◆ default_interpret

ck_fp8_interpretation_t ck::bf8_ocp_t::default_interpret
staticconstexpr
Initial value:

◆ default_saturation

ck_saturation_t ck::bf8_ocp_t::default_saturation = ck_saturation_t::CK_SATFINITE
staticconstexpr

◆ we

unsigned int ck::bf8_ocp_t::we = 5
staticconstexpr

◆ wm

unsigned int ck::bf8_ocp_t::wm = 2
staticconstexpr

The documentation for this struct was generated from the following file: