15 template <>
struct typeToStr<float> {
static constexpr
const char * name =
"fp32"; };
16 template <>
struct typeToStr<
fp16_t> {
static constexpr
const char * name =
"fp16"; };
17 template <>
struct typeToStr<
bf16_t> {
static constexpr
const char * name =
"bf16"; };
18 template <>
struct typeToStr<
fp8_t> {
static constexpr
const char * name =
"fp8"; };
19 template <>
struct typeToStr<
bf8_t> {
static constexpr
const char * name =
"bf8"; };
20 template <>
struct typeToStr<
int8_t> {
static constexpr
const char * name =
"int8"; };
24 template <
typename ADataType_,
typename BDataType_>
28 if(!std::is_same_v<ADataType_, BDataType_>)
Definition: cluster_descriptor.hpp:13
_BitInt(8) fp8_t
Definition: float8.hpp:204
_Float16 fp16_t
Definition: half.hpp:110
int8_t int8_t
Definition: int8.hpp:20
bfloat16_t bf16_t
Definition: bfloat16.hpp:113
std::string gemm_prec_str()
Definition: utils.hpp:25
unsigned _BitInt(8) bf8_t
Definition: float8.hpp:206
Definition: pk_int4.hpp:21