gem5 v24.1.0.1
Loading...
Searching...
No Matches
Functions
mxfp.test.cc File Reference
#include <gtest/gtest.h>
#include "arch/amdgpu/common/dtype/mxfp_types.hh"

Go to the source code of this file.

Functions

template<typename T >
bool test_raw_mxfp (T raw_mxfp, int bits)
 
template<typename T >
int test_type (int bits)
 
 TEST (MxfpTest, MxBf16Test)
 
 TEST (MxfpTest, MxFp16Test)
 
 TEST (MxfpTest, MxBf8Test)
 
 TEST (MxfpTest, MxFp8Test)
 

Function Documentation

◆ TEST() [1/4]

TEST ( MxfpTest  ,
MxBf16Test   
)

Definition at line 70 of file mxfp.test.cc.

◆ TEST() [2/4]

TEST ( MxfpTest  ,
MxBf8Test   
)

Definition at line 88 of file mxfp.test.cc.

◆ TEST() [3/4]

TEST ( MxfpTest  ,
MxFp16Test   
)

Definition at line 79 of file mxfp.test.cc.

◆ TEST() [4/4]

TEST ( MxfpTest  ,
MxFp8Test   
)

Definition at line 97 of file mxfp.test.cc.

◆ test_raw_mxfp()

template<typename T >
bool test_raw_mxfp ( raw_mxfp,
int  bits 
)

Definition at line 37 of file mxfp.test.cc.

References std::isinf(), and std::isnan().

Referenced by test_type().

◆ test_type()

template<typename T >
int test_type ( int  bits)

Definition at line 53 of file mxfp.test.cc.

References test_raw_mxfp().


Generated on Mon Jan 13 2025 04:28:45 for gem5 by doxygen 1.9.8