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
af2dcb53
Commit
af2dcb53
authored
Oct 23, 2018
by
wsttiger
Browse files
Suppress cppcheck warning
parent
2ea9fc44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/targets/cpu/cpu_lowering.cpp
src/targets/cpu/cpu_lowering.cpp
+2
-1
No files found.
src/targets/cpu/cpu_lowering.cpp
View file @
af2dcb53
...
@@ -312,7 +312,8 @@ struct cpu_concat
...
@@ -312,7 +312,8 @@ struct cpu_concat
auto
slice_shape
=
auto
slice_shape
=
shape
{
output_shape
.
type
(),
input
.
get_shape
().
lens
(),
output_shape
.
strides
()};
shape
{
output_shape
.
type
(),
input
.
get_shape
().
lens
(),
output_shape
.
strides
()};
auto
slice
=
make_view
(
slice_shape
,
output
.
data
()
+
coffsets
[
l
]);
auto
slice
=
make_view
(
slice_shape
,
output
.
data
()
+
coffsets
[
l
]);
for
(
std
::
size_t
i
=
0
;
i
<
nelements
;
i
++
)
// NOLINT
// cppcheck-suppress useStlAlgorithm
for
(
std
::
size_t
i
=
0
;
i
<
nelements
;
i
++
)
{
{
slice
[
i
]
=
input
[
i
];
slice
[
i
]
=
input
[
i
];
}
}
...
...
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