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
8d0eb591
Commit
8d0eb591
authored
Feb 18, 2022
by
Shucai Xiao
Browse files
clang format
parent
583888ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/include/migraphx/program.hpp
src/include/migraphx/program.hpp
+1
-1
src/program.cpp
src/program.cpp
+2
-2
No files found.
src/include/migraphx/program.hpp
View file @
8d0eb591
...
...
@@ -76,7 +76,7 @@ struct program
void
from_value
(
const
value
&
v
);
void
debug_print
()
const
;
void
debug_print
(
instruction_ref
ins
,
void
debug_print
(
instruction_ref
ins
,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
ins_names
)
const
;
void
print
(
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
names
,
const
std
::
function
<
void
(
instruction_ref
,
...
...
src/program.cpp
View file @
8d0eb591
...
...
@@ -707,7 +707,7 @@ void program::perf_report(std::ostream& os,
}
void
program
::
debug_print
()
const
{
std
::
cout
<<
*
this
<<
std
::
endl
;
}
void
program
::
debug_print
(
instruction_ref
ins
,
void
program
::
debug_print
(
instruction_ref
ins
,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
ins_names
)
const
{
if
(
std
::
any_of
(
this
->
impl
->
modules
.
begin
(),
this
->
impl
->
modules
.
end
(),
[
&
](
const
auto
&
pp
)
{
...
...
@@ -725,7 +725,7 @@ void program::debug_print(instruction_ref ins,
return
;
}
if
(
contains
(
ins_names
,
ins
))
if
(
contains
(
ins_names
,
ins
))
{
instruction
::
print
(
std
::
cout
,
ins
,
ins_names
);
}
...
...
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