"...composable_kernel_rocm.git" did not exist on "b2888adfbe103ae3d9006af87d5871b69cbf00ba"
Commit 3adf36be authored by Alan Turner's avatar Alan Turner
Browse files

Move error throwing to default case

parent 57cdd70b
...@@ -15,8 +15,8 @@ std::string ToString(DataType dt) ...@@ -15,8 +15,8 @@ std::string ToString(DataType dt)
case DataType::Half: return "ck::half_t"; case DataType::Half: return "ck::half_t";
case DataType::Int8: return "int8_t"; case DataType::Int8: return "int8_t";
case DataType::Int32: return "int32_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() std::unordered_map<std::string_view, std::string_view> GetHeaders()
......
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