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
69715eab
Commit
69715eab
authored
Aug 01, 2023
by
Khalique Ahmed
Browse files
formatting
parent
8fbb7af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/targets/gpu/fuse_mlir.cpp
src/targets/gpu/fuse_mlir.cpp
+2
-1
No files found.
src/targets/gpu/fuse_mlir.cpp
View file @
69715eab
...
@@ -179,7 +179,8 @@ struct find_mlir_op
...
@@ -179,7 +179,8 @@ struct find_mlir_op
}
}
top_inputs
.
push_back
(
input
);
top_inputs
.
push_back
(
input
);
instruction_ref
prev_input
=
instruction_ref
prev_input
=
mm
->
add_parameter
(
"y"
+
std
::
to_string
(
input_cnt
++
),
{
input
->
get_shape
().
type
(),
input
->
get_shape
().
lens
()});
mm
->
add_parameter
(
"y"
+
std
::
to_string
(
input_cnt
++
),
{
input
->
get_shape
().
type
(),
input
->
get_shape
().
lens
()});
for
(
const
auto
&
op
:
reverse
(
op_stream
))
for
(
const
auto
&
op
:
reverse
(
op_stream
))
{
{
prev_input
=
mm
->
add_instruction
(
op
,
{
prev_input
});
prev_input
=
mm
->
add_instruction
(
op
,
{
prev_input
});
...
...
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