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
24b39d3e
Commit
24b39d3e
authored
Jan 24, 2019
by
Khalique
Browse files
fix cppcheck issues
parent
cd0782c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/include/migraphx/operators.hpp
src/include/migraphx/operators.hpp
+1
-1
test/gpu/miopen.cpp
test/gpu/miopen.cpp
+1
-0
No files found.
src/include/migraphx/operators.hpp
View file @
24b39d3e
...
...
@@ -636,7 +636,7 @@ struct pad
std
::
vector
<
std
::
size_t
>
rdims
(
idims
.
begin
(),
idims
.
end
());
auto
num_dims
=
rdims
.
size
();
for
(
auto
i
=
0
;
i
<
num_dims
;
i
++
)
for
(
int
i
=
0
;
i
<
num_dims
;
i
++
)
{
rdims
[
i
]
+=
pads
[
i
]
+
pads
[
i
+
num_dims
];
}
...
...
test/gpu/miopen.cpp
View file @
24b39d3e
...
...
@@ -948,6 +948,7 @@ struct test_pad
p
.
add_instruction
(
migraphx
::
op
::
pad
{
pads0
},
l0
);
p
.
add_instruction
(
migraphx
::
op
::
pad
{
pads1
},
l0
);
p
.
add_instruction
(
migraphx
::
op
::
pad
{
pads2
},
l0
);
p
.
add_instruction
(
migraphx
::
op
::
pad
{
pads3
},
l0
);
return
p
;
}
};
...
...
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