gem5 v24.1.0.1
|
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 () |
Definition at line 45 of file mxfp_types.hh.
Definition at line 42 of file mxfp_types.hh.
Definition at line 46 of file mxfp_types.hh.
Definition at line 48 of file mxfp_types.hh.
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 convertMXFP(), std::isinf(), std::isnan(), gem5::ArmISA::m, gem5::ArmISA::mask, gem5::ArmISA::mode, roundStochastic, roundTiesToEven, and gem5::ArmISA::shift.
Referenced by convertMXFP(), gem5::AMDGPU::mxfp< FMT >::float_to_mxfp(), gem5::AMDGPU::mxfp< FMT >::getFmt(), gem5::AMDGPU::mxfp< FMT >::mxfp(), gem5::AMDGPU::mxfp< FMT >::operator float(), operator!=(), operator++(), operator--(), operator<(), operator<=(), gem5::AMDGPU::mxfp< FMT >::operator=(), operator==(), operator>(), operator>=(), gem5::AMDGPU::mxfp< FMT >::scaleDiv(), gem5::AMDGPU::mxfp< FMT >::scaleMul(), and gem5::AMDGPU::mxfp< FMT >::setFmt().
Definition at line 343 of file mxfp_convert.hh.
Definition at line 337 of file mxfp_convert.hh.
Definition at line 345 of file mxfp.hh.
References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().
|
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, and convertMXFP().
|
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, and convertMXFP().
|
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, gem5::ArmISA::b, and convertMXFP().
|
inline |
Definition at line 327 of file mxfp.hh.
References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().
|
inline |
Definition at line 339 of file mxfp.hh.
References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().
|
inline |
Definition at line 321 of file mxfp.hh.
References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().
|
inline |
Definition at line 333 of file mxfp.hh.
References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().