Unverified Commit a6f59f31 authored by Jinjie Liu's avatar Jinjie Liu Committed by GitHub
Browse files

remove unused duplicated type check (#1462)


Signed-off-by: default avatarJinjie Liu <jjliu@baai.ac.cn>
parent cae06edd
...@@ -131,8 +131,7 @@ static std::string GetTileLangFP8Type(DataType type) { ...@@ -131,8 +131,7 @@ static std::string GetTileLangFP8Type(DataType type) {
if (type.is_float8_e4m3fn() || type.is_float8_e4m3fnuz() || if (type.is_float8_e4m3fn() || type.is_float8_e4m3fnuz() ||
type.is_float8_e4m3()) { type.is_float8_e4m3()) {
stream << "fp8_e4" << vec << "_t"; stream << "fp8_e4" << vec << "_t";
} else if (type.is_float8_e5m2() || type.is_float8_e5m2fnuz() || } else if (type.is_float8_e5m2() || type.is_float8_e5m2fnuz()) {
type.is_float8_e5m2()) {
stream << "fp8_e5" << vec << "_t"; stream << "fp8_e5" << vec << "_t";
} else if (type.is_float8_e8m0fnu()) { } else if (type.is_float8_e8m0fnu()) {
stream << "fp8_e8" << vec << "_t"; stream << "fp8_e8" << vec << "_t";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment