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
05208b60
Commit
05208b60
authored
Mar 05, 2019
by
Paul
Browse files
Print input streams
parent
b2b3f07e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/schedule.cpp
src/schedule.cpp
+6
-0
No files found.
src/schedule.cpp
View file @
05208b60
...
@@ -259,6 +259,12 @@ void schedule::apply(program& p) const
...
@@ -259,6 +259,12 @@ void schedule::apply(program& p) const
p
.
annotate
(
std
::
cout
,
[
&
](
auto
ins
)
{
p
.
annotate
(
std
::
cout
,
[
&
](
auto
ins
)
{
std
::
cout
<<
":"
;
std
::
cout
<<
":"
;
std
::
cout
<<
" weight="
<<
si
.
weights
.
at
(
ins
);
std
::
cout
<<
" weight="
<<
si
.
weights
.
at
(
ins
);
std
::
cout
<<
" input={"
;
si
.
get_streams
(
ins
,
get_inputs
())([
&
](
auto
s
)
{
std
::
cout
<<
s
<<
","
;
return
true
;
});
std
::
cout
<<
"}"
;
if
(
si
.
has_stream
(
ins
))
if
(
si
.
has_stream
(
ins
))
std
::
cout
<<
" stream="
<<
si
.
get_stream
(
ins
);
std
::
cout
<<
" stream="
<<
si
.
get_stream
(
ins
);
});
});
...
...
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