gem5 v24.1.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs | Enumerations | Functions
gem5::AMDGPU Namespace Reference

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 >
operator+ (T a)
 
template<typename T >
operator- (T a)
 
template<typename T >
operator++ (T a)
 
template<typename T >
operator-- (T a)
 
template<typename T >
operator++ (T a, int)
 
template<typename T >
operator-- (T a, int)
 
template<typename T >
operator+ (T a, T b)
 
template<typename T >
operator- (T a, T b)
 
template<typename T >
operator* (T a, T b)
 
template<typename T >
operator/ (T a, T b)
 
template<typename T >
operator+= (T &a, T b)
 
template<typename T >
operator-= (T &a, T b)
 
template<typename T >
operator*= (T &a, T b)
 
template<typename 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 Documentation

◆ binary32

◆ mxbfloat16

Definition at line 45 of file mxfp_types.hh.

◆ mxbfloat8

Definition at line 42 of file mxfp_types.hh.

◆ mxfloat16

Definition at line 46 of file mxfp_types.hh.

◆ mxfloat32

Definition at line 48 of file mxfp_types.hh.

◆ mxfloat8

Definition at line 43 of file mxfp_types.hh.

Enumeration Type Documentation

◆ mxfpRoundingMode

Enumerator
roundTiesToEven 
roundStochastic 

Definition at line 48 of file mxfp_convert.hh.

Function Documentation

◆ convertMXFP()

template<typename dFMT , typename sFMT >
dFMT gem5::AMDGPU::convertMXFP ( sFMT  in,
mxfpRoundingMode  mode = roundTiesToEven,
uint32_t  seed = 0 
)

◆ max_exp()

template<typename FMT >
int gem5::AMDGPU::max_exp ( )

Definition at line 343 of file mxfp_convert.hh.

◆ min_exp()

template<typename FMT >
int gem5::AMDGPU::min_exp ( )

Definition at line 337 of file mxfp_convert.hh.

◆ operator!=()

template<typename T >
bool gem5::AMDGPU::operator!= ( a,
b 
)
inline

Definition at line 345 of file mxfp.hh.

References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().

◆ operator*()

template<typename T >
T gem5::AMDGPU::operator* ( a,
b 
)
inline

Definition at line 274 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator*=()

template<typename T >
T gem5::AMDGPU::operator*= ( T &  a,
b 
)
inline

Definition at line 300 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator+() [1/2]

template<typename T >
T gem5::AMDGPU::operator+ ( a)
inline

Definition at line 217 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator+() [2/2]

template<typename T >
T gem5::AMDGPU::operator+ ( a,
b 
)
inline

Definition at line 262 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator++() [1/2]

template<typename T >
T gem5::AMDGPU::operator++ ( a)
inline

Definition at line 231 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator++() [2/2]

template<typename T >
T gem5::AMDGPU::operator++ ( a,
int   
)
inline

Definition at line 245 of file mxfp.hh.

References gem5::ArmISA::a, and convertMXFP().

◆ operator+=()

template<typename T >
T gem5::AMDGPU::operator+= ( T &  a,
b 
)
inline

Definition at line 286 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator-() [1/2]

template<typename T >
T gem5::AMDGPU::operator- ( a)
inline

Definition at line 223 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator-() [2/2]

template<typename T >
T gem5::AMDGPU::operator- ( a,
b 
)
inline

Definition at line 268 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator--() [1/2]

template<typename T >
T gem5::AMDGPU::operator-- ( a)
inline

Definition at line 238 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator--() [2/2]

template<typename T >
T gem5::AMDGPU::operator-- ( a,
int   
)
inline

Definition at line 253 of file mxfp.hh.

References gem5::ArmISA::a, and convertMXFP().

◆ operator-=()

template<typename T >
T gem5::AMDGPU::operator-= ( T &  a,
b 
)
inline

Definition at line 293 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator/()

template<typename T >
T gem5::AMDGPU::operator/ ( a,
b 
)
inline

Definition at line 280 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator/=()

template<typename T >
T gem5::AMDGPU::operator/= ( T &  a,
b 
)
inline

Definition at line 307 of file mxfp.hh.

References gem5::ArmISA::a, and gem5::ArmISA::b.

◆ operator<()

template<typename T >
bool gem5::AMDGPU::operator< ( a,
b 
)
inline

Definition at line 315 of file mxfp.hh.

References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().

◆ operator<=()

template<typename T >
bool gem5::AMDGPU::operator<= ( a,
b 
)
inline

Definition at line 327 of file mxfp.hh.

References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().

◆ operator==()

template<typename T >
bool gem5::AMDGPU::operator== ( a,
b 
)
inline

Definition at line 339 of file mxfp.hh.

References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().

◆ operator>()

template<typename T >
bool gem5::AMDGPU::operator> ( a,
b 
)
inline

Definition at line 321 of file mxfp.hh.

References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().

◆ operator>=()

template<typename T >
bool gem5::AMDGPU::operator>= ( a,
b 
)
inline

Definition at line 333 of file mxfp.hh.

References gem5::ArmISA::a, gem5::ArmISA::b, and convertMXFP().


Generated on Mon Jan 13 2025 04:29:00 for gem5 by doxygen 1.9.8