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
f9531026
Commit
f9531026
authored
Nov 21, 2023
by
Paul
Browse files
Format
parent
32339fe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/jit/concat.cpp
src/targets/gpu/jit/concat.cpp
+1
-1
No files found.
src/targets/gpu/jit/concat.cpp
View file @
f9531026
...
@@ -85,7 +85,7 @@ struct concat_compiler : compiler<concat_compiler>
...
@@ -85,7 +85,7 @@ struct concat_compiler : compiler<concat_compiler>
for
(
auto
i
:
range
(
op_names
.
size
()))
for
(
auto
i
:
range
(
op_names
.
size
()))
{
{
const
auto
&
name
=
op_names
[
i
];
const
auto
&
name
=
op_names
[
i
];
auto
n
=
args
.
at
(
name
).
to
<
std
::
size_t
>
();
auto
n
=
args
.
at
(
name
).
to
<
std
::
size_t
>
();
auto
prefix
=
to_c_id
(
name
+
std
::
to_string
(
i
)
+
"_concat_x"
);
auto
prefix
=
to_c_id
(
name
+
std
::
to_string
(
i
)
+
"_concat_x"
);
transform
(
range
(
n
),
std
::
back_inserter
(
concat_params
),
[
&
](
auto
j
)
{
transform
(
range
(
n
),
std
::
back_inserter
(
concat_params
),
[
&
](
auto
j
)
{
return
"auto "
+
prefix
+
std
::
to_string
(
j
);
return
"auto "
+
prefix
+
std
::
to_string
(
j
);
...
...
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