gem5 v24.0.0.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, max_exp(), gem5::ArmISA::mode, roundStochastic, roundTiesToEven, and gem5::ArmISA::shift.
Referenced by gem5::AMDGPU::mxfp< FMT >::float_to_mxfp_nocheck(), gem5::AMDGPU::mxfp< FMT >::mxfp(), gem5::AMDGPU::mxfp< FMT >::operator float(), and gem5::AMDGPU::mxfp< FMT >::operator=().
int gem5::AMDGPU::max_exp | ( | ) |
Definition at line 299 of file mxfp_convert.hh.
Referenced by convertMXFP(), and gem5::AMDGPU::mxfp< FMT >::scale().
int gem5::AMDGPU::min_exp | ( | ) |
Definition at line 293 of file mxfp_convert.hh.
Referenced by gem5::AMDGPU::mxfp< FMT >::scale().
|
inline |
Definition at line 320 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 249 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 275 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 192 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 237 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 206 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 220 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 261 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 198 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 243 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 213 of file mxfp.hh.
References gem5::ArmISA::a.
|
inline |
Definition at line 228 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 255 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 282 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 290 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 302 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 314 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 296 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.
|
inline |
Definition at line 308 of file mxfp.hh.
References gem5::ArmISA::a, and gem5::ArmISA::b.