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
c21a1b28
Commit
c21a1b28
authored
Feb 22, 2019
by
Shucai Xiao
Browse files
clang format
parent
892d1100
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+1
-1
src/targets/gpu/device/gather.cpp
src/targets/gpu/device/gather.cpp
+8
-8
No files found.
src/onnx/onnx.cpp
View file @
c21a1b28
src/targets/gpu/device/gather.cpp
View file @
c21a1b28
...
@@ -25,8 +25,8 @@ argument gather(hipStream_t stream,
...
@@ -25,8 +25,8 @@ argument gather(hipStream_t stream,
const
auto
*
in_ptr
=
device_cast
(
input
.
data
());
const
auto
*
in_ptr
=
device_cast
(
input
.
data
());
if
(
output_shape
.
scalar
())
if
(
output_shape
.
scalar
())
{
{
gs_launch
(
stream
,
gs_launch
(
stream
,
1
)(
1
)(
[
=
](
auto
i
)
{
out_ptr
[
i
]
=
in_ptr
[
static_cast
<
int
>
(
indices_ptr
[
0
])];
});
[
=
](
auto
i
)
{
out_ptr
[
i
]
=
in_ptr
[
static_cast
<
int
>
(
indices_ptr
[
0
])];
});
}
}
else
else
{
{
...
...
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