Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
b494c6d0
Commit
b494c6d0
authored
Dec 04, 2017
by
Matthieu Schaller
Browse files
Change the color of implicit tasks and shape of MPI tasks on the task dependencies plot.
parent
2005826f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scheduler.c
View file @
b494c6d0
...
...
@@ -217,6 +217,18 @@ void scheduler_write_dependencies(struct scheduler *s, int verbose) {
/* Write to the ffile */
fprintf
(
f
,
"
\t
%s->%s;
\n
"
,
ta_name
,
tb_name
);
/* Change style for MPI communications */
if
(
ta
->
type
==
task_type_send
||
ta
->
type
==
task_type_recv
)
fprintf
(
f
,
"
\t
%s [shape = box];
\n
"
,
ta_name
);
if
(
tb
->
type
==
task_type_send
||
tb
->
type
==
task_type_recv
)
fprintf
(
f
,
"
\t
%s [shape = box];
\n
"
,
tb_name
);
/* Change colour of implicit tasks */
if
(
ta
->
implicit
)
fprintf
(
f
,
"
\t
%s [style = filled];
\n\t
%s [color = grey];
\n
"
,
ta_name
,
ta_name
);
if
(
tb
->
implicit
)
fprintf
(
f
,
"
\t
%s [style = filled];
\n\t
%s [color = grey];
\n
"
,
tb_name
,
tb_name
);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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