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
55d1bcd9
Commit
55d1bcd9
authored
Nov 20, 2023
by
Paul
Browse files
Format
parent
2e52b18c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/cpp_generator.cpp
src/cpp_generator.cpp
+2
-2
No files found.
src/cpp_generator.cpp
View file @
55d1bcd9
...
...
@@ -48,8 +48,8 @@ cpp_generator::function::set_body(const module& m, const cpp_generator::generate
ss
<<
"// "
<<
ins
->
get_operator
()
<<
" -> "
<<
ins
->
get_shape
()
<<
"
\n
"
;
if
(
ins
->
name
()
==
"@param"
)
{
names
[
ins
]
=
to_c_id
(
migraphx
::
any_cast
<
migraphx
::
builtin
::
param
>
(
ins
->
get_operator
()).
parameter
);
names
[
ins
]
=
to_c_id
(
migraphx
::
any_cast
<
migraphx
::
builtin
::
param
>
(
ins
->
get_operator
()).
parameter
);
}
else
if
(
ins
->
name
()
==
"@return"
)
{
...
...
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