gem5 v24.0.0.0
Loading...
Searching...
No Matches
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()

◆ max_exp()

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

Definition at line 299 of file mxfp_convert.hh.

Referenced by convertMXFP(), and gem5::AMDGPU::mxfp< FMT >::scale().

◆ min_exp()

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

Definition at line 293 of file mxfp_convert.hh.

Referenced by gem5::AMDGPU::mxfp< FMT >::scale().

◆ operator!=()

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

Definition at line 320 of file mxfp.hh.

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

◆ operator*()

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

Definition at line 249 of file mxfp.hh.

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

◆ operator*=()

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

Definition at line 275 of file mxfp.hh.

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

◆ operator+() [1/2]

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

Definition at line 192 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator+() [2/2]

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

Definition at line 237 of file mxfp.hh.

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

◆ operator++() [1/2]

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

Definition at line 206 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator++() [2/2]

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

Definition at line 220 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator+=()

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

Definition at line 261 of file mxfp.hh.

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

◆ operator-() [1/2]

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

Definition at line 198 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator-() [2/2]

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

Definition at line 243 of file mxfp.hh.

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

◆ operator--() [1/2]

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

Definition at line 213 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator--() [2/2]

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

Definition at line 228 of file mxfp.hh.

References gem5::ArmISA::a.

◆ operator-=()

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

Definition at line 268 of file mxfp.hh.

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

◆ operator/()

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

Definition at line 255 of file mxfp.hh.

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

◆ operator/=()

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

Definition at line 282 of file mxfp.hh.

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

◆ operator<()

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

Definition at line 290 of file mxfp.hh.

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

◆ operator<=()

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

Definition at line 302 of file mxfp.hh.

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

◆ operator==()

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

Definition at line 314 of file mxfp.hh.

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

◆ operator>()

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

Definition at line 296 of file mxfp.hh.

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

◆ operator>=()

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

Definition at line 308 of file mxfp.hh.

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


Generated on Tue Jun 18 2024 16:24:16 for gem5 by doxygen 1.11.0