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
5dc49b16
Commit
5dc49b16
authored
Aug 05, 2019
by
Shucai Xiao
Browse files
clang format
parent
6f719a7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
src/targets/gpu/include/migraphx/gpu/int8_conv_pack.hpp
src/targets/gpu/include/migraphx/gpu/int8_conv_pack.hpp
+1
-2
src/targets/gpu/int8_conv_pack.cpp
src/targets/gpu/int8_conv_pack.cpp
+2
-3
No files found.
src/targets/gpu/include/migraphx/gpu/int8_conv_pack.hpp
View file @
5dc49b16
...
@@ -15,8 +15,7 @@ struct miopen_int8_conv_pack
...
@@ -15,8 +15,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
&
,
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 @
5dc49b16
...
@@ -11,9 +11,8 @@ shape miopen_int8_conv_pack::compute_shape(const std::vector<shape>& inputs) con
...
@@ -11,9 +11,8 @@ shape miopen_int8_conv_pack::compute_shape(const std::vector<shape>& inputs) con
return
inputs
.
at
(
0
);
return
inputs
.
at
(
0
);
}
}
argument
miopen_int8_conv_pack
::
compute
(
context
&
ctx
,
argument
const
shape
&
,
miopen_int8_conv_pack
::
compute
(
context
&
ctx
,
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
());
auto
arg_desc_vec4
=
make_tensor
(
args
[
0
].
get_shape
(),
true
);
auto
arg_desc_vec4
=
make_tensor
(
args
[
0
].
get_shape
(),
true
);
...
...
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