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
20128cae
"vscode:/vscode.git/clone" did not exist on "6d86ff54da8572f44e09cd16d21d7a9d3b5fd4c9"
Commit
20128cae
authored
Oct 11, 2023
by
Khalique Ahmed
Browse files
rename function
parent
aa56068c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/eliminate_contiguous.cpp
src/eliminate_contiguous.cpp
+2
-2
No files found.
src/eliminate_contiguous.cpp
View file @
20128cae
...
...
@@ -181,7 +181,7 @@ static void remove_contiguous(const std::string& op_name, module& m, F f)
}
}
static
void
remove_contiguous_no
o
ps
(
const
std
::
string
&
op_name
,
module
&
m
)
static
void
remove_contiguous_nops
(
const
std
::
string
&
op_name
,
module
&
m
)
{
for
(
auto
ins
:
iterator_for
(
m
))
{
...
...
@@ -202,7 +202,7 @@ void eliminate_contiguous::apply(module& m) const
return
(
ins
->
inputs
().
front
()
->
outputs
().
size
()
==
1
);
});
remove_contiguous
(
op_name
,
m
,
[](
auto
)
{
return
true
;
});
remove_contiguous_no
o
ps
(
op_name
,
m
);
remove_contiguous_nops
(
op_name
,
m
);
}
}
// namespace MIGRAPHX_INLINE_NS
...
...
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