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
MIGraphX
Commits
28edb6fc
"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "d7d8b1c28e15cfe1e3ea7aa95023eb20253eb47d"
Commit
28edb6fc
authored
Apr 10, 2019
by
Shucai Xiao
Browse files
clang format
parent
13e4b719
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/quantization.cpp
src/quantization.cpp
+6
-5
No files found.
src/quantization.cpp
View file @
28edb6fc
...
@@ -18,7 +18,8 @@ inline namespace MIGRAPHX_INLINE_NS {
...
@@ -18,7 +18,8 @@ inline namespace MIGRAPHX_INLINE_NS {
instruction_ref
convert_fp32_fp16
(
program
&
prog
,
instruction_ref
&
ins
)
instruction_ref
convert_fp32_fp16
(
program
&
prog
,
instruction_ref
&
ins
)
{
{
assert
(
ins
->
get_shape
().
type
()
==
shape
::
float_type
||
ins
->
get_shape
().
type
()
==
shape
::
double_type
);
assert
(
ins
->
get_shape
().
type
()
==
shape
::
float_type
||
ins
->
get_shape
().
type
()
==
shape
::
double_type
);
assert
(
contains
({
"@literal"
,
"@param"
},
ins
->
name
()));
assert
(
contains
({
"@literal"
,
"@param"
},
ins
->
name
()));
instruction_ref
ins_fp16
{};
instruction_ref
ins_fp16
{};
if
(
ins
->
name
()
==
"@literal"
)
if
(
ins
->
name
()
==
"@literal"
)
...
...
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