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
1b8cb243
Commit
1b8cb243
authored
Apr 18, 2019
by
Shucai Xiao
Browse files
clang format
parent
6ea3abe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/targets/gpu/include/migraphx/gpu/convert.hpp
src/targets/gpu/include/migraphx/gpu/convert.hpp
+9
-9
No files found.
src/targets/gpu/include/migraphx/gpu/convert.hpp
View file @
1b8cb243
...
...
@@ -16,15 +16,15 @@ struct hip_convert : unary_device<hip_convert, device::convert>
{
op
::
convert
op
;
hip_convert
(
const
op
::
convert
&
oper
)
:
op
(
oper
)
{
}
hip_convert
(
const
op
::
convert
&&
oper
)
:
op
(
std
::
move
(
oper
))
{
}
shape
compute_shape
(
std
::
vector
<
shape
>
inputs
)
const
{
inputs
.
pop_back
();
check_shapes
{
inputs
}.
packed
();
return
op
.
compute_shape
(
inputs
);
}
hip_convert
(
const
op
::
convert
&
oper
)
:
op
(
oper
)
{}
hip_convert
(
const
op
::
convert
&&
oper
)
:
op
(
std
::
move
(
oper
))
{}
shape
compute_shape
(
std
::
vector
<
shape
>
inputs
)
const
{
inputs
.
pop_back
();
check_shapes
{
inputs
}.
packed
();
return
op
.
compute_shape
(
inputs
);
}
};
}
// namespace gpu
...
...
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