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
c6396935
Commit
c6396935
authored
Apr 08, 2019
by
Shucai Xiao
Browse files
clang format
parent
61a1c018
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/quantize_ins.cpp
src/quantize_ins.cpp
+2
-4
No files found.
src/quantize_ins.cpp
View file @
c6396935
...
@@ -10,15 +10,13 @@ inline namespace MIGRAPHX_INLINE_NS {
...
@@ -10,15 +10,13 @@ inline namespace MIGRAPHX_INLINE_NS {
void
quantize_ins
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>&
ins_names
)
void
quantize_ins
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>&
ins_names
)
{
{
for
(
auto
ins
:
iterator_for
(
prog
))
for
(
auto
ins
:
iterator_for
(
prog
))
{
{
auto
name_it
=
std
::
find
(
ins_name
.
begin
(),
ins_name
.
end
(),
ins
->
name
());
auto
name_it
=
std
::
find
(
ins_name
.
begin
(),
ins_name
.
end
(),
ins
->
name
());
if
(
name_it
==
ins_name
.
end
())
if
(
name_it
==
ins_name
.
end
())
{
{
continue
;
continue
;
}
}
}
}
}
}
...
...
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