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
e22de8b4
Commit
e22de8b4
authored
Jun 25, 2019
by
Paul
Browse files
Formatting
parent
fd212a64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/device/concat.cpp
src/targets/gpu/device/concat.cpp
+1
-1
No files found.
src/targets/gpu/device/concat.cpp
View file @
e22de8b4
...
@@ -23,7 +23,7 @@ argument concat(hipStream_t stream,
...
@@ -23,7 +23,7 @@ argument concat(hipStream_t stream,
shape
arg_shape
{
arg
.
get_shape
().
type
(),
arg
.
get_shape
().
lens
()};
shape
arg_shape
{
arg
.
get_shape
().
type
(),
arg
.
get_shape
().
lens
()};
hip_visit_all
(
args
.
back
(),
arg
,
arg_shape
)([
&
](
auto
output
,
auto
input
,
auto
input_shape
)
{
hip_visit_all
(
args
.
back
(),
arg
,
arg_shape
)([
&
](
auto
output
,
auto
input
,
auto
input_shape
)
{
gs_launch
(
stream
,
nelements
)([
=
](
auto
i
)
{
gs_launch
(
stream
,
nelements
)([
=
](
auto
i
)
{
auto
input_idx
=
input_shape
.
multi
(
i
);
auto
input_idx
=
input_shape
.
multi
(
i
);
auto
idx
=
output
.
get_shape
().
index
(
input_idx
);
auto
idx
=
output
.
get_shape
().
index
(
input_idx
);
output
.
data
()[
idx
+
offset
]
=
input
[
input_idx
];
output
.
data
()[
idx
+
offset
]
=
input
[
input_idx
];
});
});
...
...
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