gem5 [DEVELOP-FOR-25.1]
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)
 TEST (MxfpTest, MxBf6Test)
 TEST (MxfpTest, MxFp6Test)
 TEST (MxfpTest, MxFp4Test)

Function Documentation

◆ TEST() [1/7]

TEST ( MxfpTest ,
MxBf16Test  )

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

References test_type().

◆ TEST() [2/7]

TEST ( MxfpTest ,
MxBf6Test  )

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

References test_type().

◆ TEST() [3/7]

TEST ( MxfpTest ,
MxBf8Test  )

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

References test_type().

◆ TEST() [4/7]

TEST ( MxfpTest ,
MxFp16Test  )

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

References test_type().

◆ TEST() [5/7]

TEST ( MxfpTest ,
MxFp4Test  )

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

References test_type().

◆ TEST() [6/7]

TEST ( MxfpTest ,
MxFp6Test  )

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

References test_type().

◆ TEST() [7/7]

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(), TEST(), TEST(), TEST(), and TEST().


Generated on Mon Oct 27 2025 04:13:06 for gem5 by doxygen 1.14.0