|
gem5 [DEVELOP-FOR-25.0]
|
Classes | |
| union | binary32_u |
| union | fp16_e5m10_info |
| union | fp16_e8m7_info |
| union | fp8_e4m3_info |
| union | fp8_e5m2_info |
| class | mxfp |
Typedefs | |
| typedef union gem5::AMDGPU::binary32_u | binary32 |
| 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::mxbfloat16 = mxfp<fp16_e8m7_info> |
Definition at line 45 of file mxfp_types.hh.
| using gem5::AMDGPU::mxbfloat8 = mxfp<fp8_e5m2_info> |
Definition at line 42 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfloat16 = mxfp<fp16_e5m10_info> |
Definition at line 46 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfloat32 = mxfp<binary32> |
Definition at line 48 of file mxfp_types.hh.
| using gem5::AMDGPU::mxfloat8 = mxfp<fp8_e4m3_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::AMDGPU::mxfp< fp8_e5m2_info >::float_to_mxfp(), gem5::AMDGPU::mxfp< fp8_e5m2_info >::mxfp(), gem5::AMDGPU::mxfp< fp8_e5m2_info >::operator float(), and gem5::AMDGPU::mxfp< fp8_e5m2_info >::operator=().
| int gem5::AMDGPU::max_exp | ( | ) |
Definition at line 343 of file mxfp_convert.hh.
Referenced by gem5::AMDGPU::mxfp< fp8_e5m2_info >::scaleDiv(), and gem5::AMDGPU::mxfp< fp8_e5m2_info >::scaleMul().
| int gem5::AMDGPU::min_exp | ( | ) |
Definition at line 337 of file mxfp_convert.hh.
Referenced by gem5::AMDGPU::mxfp< fp8_e5m2_info >::scaleDiv(), and gem5::AMDGPU::mxfp< fp8_e5m2_info >::scaleMul().
|
inline |
Definition at line 345 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 274 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 300 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 217 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 262 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 231 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 245 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 286 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 223 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 268 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 238 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 253 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 293 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 280 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 307 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 315 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 327 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 339 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 321 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 333 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.