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
6f719a7d
Commit
6f719a7d
authored
Aug 05, 2019
by
Shucai Xiao
Browse files
resolve cppcheck warnings
parent
7eaffe8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/targets/gpu/include/migraphx/gpu/int8_conv_pack.hpp
src/targets/gpu/include/migraphx/gpu/int8_conv_pack.hpp
+1
-1
src/targets/gpu/int8_conv_pack.cpp
src/targets/gpu/int8_conv_pack.cpp
+1
-1
No files found.
src/targets/gpu/include/migraphx/gpu/int8_conv_pack.hpp
View file @
6f719a7d
...
@@ -16,7 +16,7 @@ struct miopen_int8_conv_pack
...
@@ -16,7 +16,7 @@ struct miopen_int8_conv_pack
std
::
string
name
()
const
{
return
"gpu::int8_conv_pack"
;
}
std
::
string
name
()
const
{
return
"gpu::int8_conv_pack"
;
}
shape
compute_shape
(
const
std
::
vector
<
shape
>&
inputs
)
const
;
shape
compute_shape
(
const
std
::
vector
<
shape
>&
inputs
)
const
;
argument
argument
compute
(
context
&
ctx
,
const
shape
&
output_shape
,
const
std
::
vector
<
argument
>&
args
)
const
;
compute
(
context
&
ctx
,
const
shape
&
,
const
std
::
vector
<
argument
>&
args
)
const
;
std
::
ptrdiff_t
output_alias
(
const
std
::
vector
<
shape
>&
shapes
)
const
std
::
ptrdiff_t
output_alias
(
const
std
::
vector
<
shape
>&
shapes
)
const
{
{
return
shapes
.
size
()
-
1
;
return
shapes
.
size
()
-
1
;
...
...
src/targets/gpu/int8_conv_pack.cpp
View file @
6f719a7d
...
@@ -12,7 +12,7 @@ shape miopen_int8_conv_pack::compute_shape(const std::vector<shape>& inputs) con
...
@@ -12,7 +12,7 @@ shape miopen_int8_conv_pack::compute_shape(const std::vector<shape>& inputs) con
}
}
argument
miopen_int8_conv_pack
::
compute
(
context
&
ctx
,
argument
miopen_int8_conv_pack
::
compute
(
context
&
ctx
,
const
shape
&
output_shape
,
const
shape
&
,
const
std
::
vector
<
argument
>&
args
)
const
const
std
::
vector
<
argument
>&
args
)
const
{
{
auto
arg_desc
=
make_tensor
(
args
[
0
].
get_shape
());
auto
arg_desc
=
make_tensor
(
args
[
0
].
get_shape
());
...
...
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