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
7668ef6b
"vscode:/vscode.git/clone" did not exist on "7d149a6882039459857abb4bab675cd93cb7442e"
Commit
7668ef6b
authored
Nov 20, 2023
by
Paul
Browse files
Format
parent
5c4e15f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/targets/gpu/jit/concat.cpp
src/targets/gpu/jit/concat.cpp
+11
-11
No files found.
src/targets/gpu/jit/concat.cpp
View file @
7668ef6b
...
@@ -112,7 +112,7 @@ struct concat_compiler : compiler<concat_compiler>
...
@@ -112,7 +112,7 @@ struct concat_compiler : compiler<concat_compiler>
compiler_replace
compile
(
context
&
ctx
,
instruction_ref
ins
,
const
operation
&
op
)
const
compiler_replace
compile
(
context
&
ctx
,
instruction_ref
ins
,
const
operation
&
op
)
const
{
{
auto
v
=
op
.
to_value
();
auto
v
=
op
.
to_value
();
if
(
op
.
name
()
==
"fused_concat"
)
if
(
op
.
name
()
==
"fused_concat"
)
{
{
std
::
unordered_map
<
std
::
string
,
std
::
string
>
mod_names_lookup
;
std
::
unordered_map
<
std
::
string
,
std
::
string
>
mod_names_lookup
;
transform
(
range
(
ins
->
module_inputs
().
size
()),
transform
(
range
(
ins
->
module_inputs
().
size
()),
...
@@ -159,7 +159,7 @@ struct concat_compiler : compiler<concat_compiler>
...
@@ -159,7 +159,7 @@ struct concat_compiler : compiler<concat_compiler>
v
[
"kernel"
]
=
prefix_name
+
"concat_"
+
v
[
"kernel"
]
=
prefix_name
+
"concat_"
+
generate_name_from_ops
(
*
(
ins
->
module_inputs
().
back
()))
+
"_kernel"
;
generate_name_from_ops
(
*
(
ins
->
module_inputs
().
back
()))
+
"_kernel"
;
}
}
else
if
(
op
.
name
()
==
"concat"
)
else
if
(
op
.
name
()
==
"concat"
)
{
{
auto
concat_inputs
=
ins
->
inputs
().
size
()
-
1
;
auto
concat_inputs
=
ins
->
inputs
().
size
()
-
1
;
if
(
not
ins
->
module_inputs
().
empty
())
if
(
not
ins
->
module_inputs
().
empty
())
...
...
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