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
70b14c07
Commit
70b14c07
authored
Jan 20, 2022
by
Shucai Xiao
Browse files
code backup
parent
79c9c44d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/targets/gpu/get_tuple_elem.cpp
src/targets/gpu/get_tuple_elem.cpp
+2
-1
No files found.
src/targets/gpu/get_tuple_elem.cpp
View file @
70b14c07
...
@@ -12,7 +12,8 @@ shape hip_get_tuple_elem::compute_shape(std::vector<shape> inputs) const
...
@@ -12,7 +12,8 @@ shape hip_get_tuple_elem::compute_shape(std::vector<shape> inputs) const
return
op
.
compute_shape
(
inputs
);
return
op
.
compute_shape
(
inputs
);
}
}
argument
hip_get_tuple_elem
::
compute
(
context
&
ctx
,
const
shape
&
,
const
std
::
vector
<
argument
>&
args
)
const
argument
hip_get_tuple_elem
::
compute
(
context
&
ctx
,
const
shape
&
,
const
std
::
vector
<
argument
>&
args
)
const
{
{
auto
sub_args
=
args
.
front
().
get_sub_objects
();
auto
sub_args
=
args
.
front
().
get_sub_objects
();
device
::
contiguous
(
ctx
.
get_stream
().
get
(),
args
.
back
(),
sub_args
[
op
.
index
]);
device
::
contiguous
(
ctx
.
get_stream
().
get
(),
args
.
back
(),
sub_args
[
op
.
index
]);
...
...
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