Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
d90d2137
Commit
d90d2137
authored
Sep 11, 2022
by
Paul
Browse files
Dont use the output
parent
2483cfa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/targets/gpu/jit/concat.cpp
src/targets/gpu/jit/concat.cpp
+2
-2
No files found.
src/targets/gpu/jit/concat.cpp
View file @
d90d2137
...
...
@@ -64,8 +64,8 @@ struct concat_compiler : compiler<concat_compiler>
static
std
::
size_t
get_concat_elements
(
const
std
::
vector
<
shape
>&
inputs
)
{
auto
total
=
std
::
accumulate
(
inputs
.
begin
(),
inputs
.
end
(),
0
,
[](
auto
x
,
auto
s
)
{
return
x
+
s
.
elements
();
});
return
total
/
inputs
.
size
();
inputs
.
begin
(),
std
::
prev
(
inputs
.
end
()
)
,
0
,
[](
auto
x
,
auto
s
)
{
return
x
+
s
.
elements
();
});
return
total
/
(
inputs
.
size
()
-
1
)
;
}
operation
compile_op
(
context
&
ctx
,
const
std
::
vector
<
shape
>&
inputs
,
const
value
&
v
)
const
...
...
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