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

References test_type().

◆ TEST() [2/4]

TEST ( MxfpTest ,
MxBf8Test  )

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

References test_type().

◆ TEST() [3/4]

TEST ( MxfpTest ,
MxFp16Test  )

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

References test_type().

◆ TEST() [4/4]

TEST ( MxfpTest ,
MxFp8Test  )

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

References test_type().

◆ test_raw_mxfp()

template<typename T >
bool test_raw_mxfp ( T 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().

Referenced by TEST(), TEST(), TEST(), and TEST().


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