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
522b1da2
Commit
522b1da2
authored
Jul 03, 2019
by
Shucai Xiao
Browse files
fix cppcheck error
parent
cd5fd751
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/targets/cpu/lowering.cpp
src/targets/cpu/lowering.cpp
+2
-2
No files found.
src/targets/cpu/lowering.cpp
View file @
522b1da2
...
@@ -665,7 +665,7 @@ struct cpu_argmax
...
@@ -665,7 +665,7 @@ struct cpu_argmax
argument
compute
(
context
&
,
const
shape
&
output_shape
,
std
::
vector
<
argument
>
args
)
const
argument
compute
(
context
&
,
const
shape
&
output_shape
,
std
::
vector
<
argument
>
args
)
const
{
{
return
op
.
compute
(
output_shape
,
args
);
return
op
.
compute
(
output_shape
,
std
::
move
(
args
)
)
;
}
}
};
};
...
@@ -684,7 +684,7 @@ struct cpu_argmin
...
@@ -684,7 +684,7 @@ struct cpu_argmin
argument
compute
(
context
&
,
const
shape
&
output_shape
,
std
::
vector
<
argument
>
args
)
const
argument
compute
(
context
&
,
const
shape
&
output_shape
,
std
::
vector
<
argument
>
args
)
const
{
{
return
op
.
compute
(
output_shape
,
args
);
return
op
.
compute
(
output_shape
,
std
::
move
(
args
)
)
;
}
}
};
};
...
...
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