|
gem5 [DEVELOP-FOR-25.1]
|
Classes | |
| union | binary32_u |
| union | fp16_e5m10_info |
| union | fp16_e8m7_info |
| union | fp4_e2m1_info |
| union | fp6_e2m3_info |
| union | fp6_e3m2_info |
| union | fp8_e4m3_info |
| union | fp8_e5m2_info |
| class | mxfp |
| class | PkBfloat16 |
Typedefs | |
| typedef union gem5::AMDGPU::binary32_u | binary32 |
| using | mxfp4 = mxfp<fp4_e2m1_info> |
| using | mxfp6 = mxfp<fp6_e2m3_info> |
| using | mxbf6 = mxfp<fp6_e3m2_info> |
| using | mxbfloat8 = mxfp<fp8_e5m2_info> |
| using | mxfloat8 = mxfp<fp8_e4m3_info> |
| using | mxbfloat16 = mxfp<fp16_e8m7_info> |
| using | mxfloat16 = mxfp<fp16_e5m10_info> |
| using | mxfloat32 = mxfp<binary32> |
Enumerations | |
| enum | mxfpRoundingMode { roundTiesToEven , roundStochastic } |
Functions | |
| template<typename T> | |
| T | operator+ (T a) |
| template<typename T> | |
| T | operator- (T a) |
| template<typename T> | |
| T | operator++ (T a) |
| template<typename T> | |
| T | operator-- (T a) |
| template<typename T> | |
| T | operator++ (T a, int) |
| template<typename T> | |
| T | operator-- (T a, int) |
| template<typename T> | |
| T | operator+ (T a, T b) |
| template<typename T> | |
| T | operator- (T a, T b) |
| template<typename T> | |
| T | operator* (T a, T b) |
| template<typename T> | |
| T | operator/ (T a, T b) |
| template<typename T> | |
| T | operator+= (T &a, T b) |
| template<typename T> | |
| T | operator-= (T &a, T b) |
| template<typename T> | |
| T | operator*= (T &a, T b) |
| template<typename T> | |
| T | operator/= (T &a, T b) |
| template<typename T> | |
| bool | operator< (T a, T b) |
| template<typename T> | |
| bool | operator> (T a, T b) |
| template<typename T> | |
| bool | operator<= (T a, T b) |
| template<typename T> | |
| bool | operator>= (T a, T b) |
| template<typename T> | |
| bool | operator== (T a, T b) |
| template<typename T> | |
| bool | operator!= (T a, T b) |
| template<typename dFMT, typename sFMT> | |
| dFMT | convertMXFP (sFMT in, mxfpRoundingMode mode=roundTiesToEven, uint32_t seed=0) |
| template<typename FMT> | |
| int | min_exp () |
| template<typename FMT> | |
| int | max_exp () |
| typedef union gem5::AMDGPU::binary32_u gem5::AMDGPU::binary32 |
| using gem5::AMDGPU::mxbf6 = mxfp<fp6_e3m2_info> |
Definition at line 44 of file mxfp_types.hh.
| using gem5::AMDGPU::mxbfloat16 = mxfp<fp16_e8m7_info> |
Definition at line 49 of file mxfp_types.hh.
| using gem5::AMDGPU::mxbfloat8 = mxfp<fp8_e5m2_info> |
Definition at line 46 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfloat16 = mxfp<fp16_e5m10_info> |
Definition at line 50 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfloat32 = mxfp<binary32> |
Definition at line 52 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfloat8 = mxfp<fp8_e4m3_info> |
Definition at line 47 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfp4 = mxfp<fp4_e2m1_info> |
Definition at line 42 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfp6 = mxfp<fp6_e2m3_info> |
Definition at line 43 of file mxfp_types.hh.
| Enumerator | |
|---|---|
| roundTiesToEven | |
| roundStochastic | |
Definition at line 48 of file mxfp_convert.hh.
| dFMT gem5::AMDGPU::convertMXFP | ( | sFMT | in, |
| mxfpRoundingMode | mode = roundTiesToEven, | ||
| uint32_t | seed = 0 ) |
Definition at line 62 of file mxfp_convert.hh.
References std::isinf(), std::isnan(), gem5::ArmISA::m, gem5::ArmISA::mask, gem5::ArmISA::mode, roundStochastic, roundTiesToEven, and gem5::ArmISA::shift.
Referenced by gem5::VegaISA::Inst_VOP3__V_CVT_SCALE_SR_PK32< AMDGPU::mxbf6, AMDGPU::mxbfloat16, &MNEM__V_CVT_SCALE_SR_PK_BF6_BF16 >::execute(), gem5::VegaISA::Inst_VOP3__V_CVT_SCALE_SR_PK_FP4< AMDGPU::mxfp4, AMDGPU::mxbfloat16, &MNEM__V_CVT_SCALE_SR_PK_FP4_BF16 >::execute(), gem5::VegaISA::Inst_VOP3__V_CVT_SCALEF32_SR< AMDGPU::mxbfloat8, AMDGPU::mxfloat16, &MNEM__V_CVT_SCALEF32_SR_BF8_F16 >::execute(), gem5::VegaISA::Inst_VOP3__V_CVT_SR_BF16_F32::execute(), gem5::VegaISA::Inst_VOP3__V_CVT_SR_BF8_F32::execute(), gem5::VegaISA::Inst_VOP3__V_CVT_SR_F16_F32::execute(), gem5::VegaISA::Inst_VOP3__V_CVT_SR_FP8_F32::execute(), gem5::AMDGPU::mxfp< fp4_e2m1_info >::float_to_mxfp(), gem5::AMDGPU::mxfp< fp4_e2m1_info >::mxfp(), gem5::AMDGPU::mxfp< fp4_e2m1_info >::operator float(), and gem5::AMDGPU::mxfp< fp4_e2m1_info >::operator=().
| int gem5::AMDGPU::max_exp | ( | ) |
Definition at line 334 of file mxfp_convert.hh.
Referenced by gem5::AMDGPU::mxfp< fp4_e2m1_info >::scaleDiv(), and gem5::AMDGPU::mxfp< fp4_e2m1_info >::scaleMul().
| int gem5::AMDGPU::min_exp | ( | ) |
Definition at line 328 of file mxfp_convert.hh.
Referenced by gem5::AMDGPU::mxfp< fp4_e2m1_info >::scaleDiv(), and gem5::AMDGPU::mxfp< fp4_e2m1_info >::scaleMul().
|
inline |
Definition at line 399 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 328 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 354 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 271 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 316 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 285 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 299 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 340 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 277 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 322 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 292 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 307 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 347 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 334 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 361 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 369 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 381 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 393 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 375 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 387 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.