Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel_ROCM
Commits
3adf36be
Commit
3adf36be
authored
Nov 18, 2024
by
Alan Turner
Browse files
Move error throwing to default case
parent
57cdd70b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
library/src/jit_library/src/common.cpp
library/src/jit_library/src/common.cpp
+1
-1
No files found.
library/src/jit_library/src/common.cpp
View file @
3adf36be
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment