mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-02 04:37:02 +00:00
Move error throwing to default case
This commit is contained in:
@@ -15,8 +15,8 @@ std::string ToString(DataType dt)
|
||||
case DataType::Half: return "ck::half_t";
|
||||
case DataType::Int8: return "int8_t";
|
||||
case DataType::Int32: return "int32_t";
|
||||
default: throw std::runtime_error("Incorrect data type");
|
||||
}
|
||||
throw std::runtime_error("Incorrect data type");
|
||||
}
|
||||
|
||||
std::unordered_map<std::string_view, std::string_view> GetHeaders()
|
||||
|
||||
Reference in New Issue
Block a user