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
f208c2f3
Commit
f208c2f3
authored
Oct 27, 2022
by
Paul
Browse files
Format
parent
9db8a28d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/targets/gpu/lowering.cpp
src/targets/gpu/lowering.cpp
+4
-2
No files found.
src/targets/gpu/lowering.cpp
View file @
f208c2f3
...
@@ -245,8 +245,10 @@ struct miopen_apply
...
@@ -245,8 +245,10 @@ struct miopen_apply
// auto&& op = any_cast<op::convolution>(ins->get_operator());
// auto&& op = any_cast<op::convolution>(ins->get_operator());
// TODO: Use make_op
// TODO: Use make_op
operation
conv
=
make_op
(
"gpu::"
+
name
,
{{
"op"
,
ins
->
get_operator
().
to_value
()},
{
"int8_x4_format"
,
int8_x4_format
}});
operation
conv
=
make_op
(
auto
output
=
insert_allocation
(
ins
,
ins
->
get_shape
());
"gpu::"
+
name
,
{{
"op"
,
ins
->
get_operator
().
to_value
()},
{
"int8_x4_format"
,
int8_x4_format
}});
auto
output
=
insert_allocation
(
ins
,
ins
->
get_shape
());
return
mod
->
replace_instruction
(
ins
,
return
mod
->
replace_instruction
(
ins
,
make_op
(
"gpu::miopen_op"
,
{{
"op"
,
to_value
(
conv
)}}),
make_op
(
"gpu::miopen_op"
,
{{
"op"
,
to_value
(
conv
)}}),
...
...
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