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
dc0dcacd
Commit
dc0dcacd
authored
Jan 25, 2017
by
Matthieu Schaller
Browse files
Skip none tasks when checking for scheduled stuff. Clean-up more properties of none tasks.
parent
44e733cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scheduler.c
View file @
dc0dcacd
...
...
@@ -138,6 +138,8 @@ static void scheduler_splittask(struct task *t, struct scheduler *s) {
((
t
->
type
==
task_type_timestep
)
&&
t
->
ci
->
nodeID
!=
s
->
nodeID
)
||
((
t
->
type
==
task_type_init
)
&&
t
->
ci
->
nodeID
!=
s
->
nodeID
))
{
t
->
type
=
task_type_none
;
t
->
subtype
=
task_subtype_none
;
t
->
cj
=
NULL
;
t
->
skip
=
1
;
break
;
}
...
...
@@ -1083,6 +1085,8 @@ void scheduler_start(struct scheduler *s) {
struct
cell
*
ci
=
t
->
ci
;
struct
cell
*
cj
=
t
->
cj
;
if
(
t
->
type
==
task_type_none
)
continue
;
/* Don't check MPI stuff */
if
(
t
->
type
==
task_type_send
||
t
->
type
==
task_type_recv
)
continue
;
...
...
Matthieu Schaller
@matthieu
mentioned in issue
#256 (closed)
·
Jan 25, 2017
mentioned in issue
#256 (closed)
mentioned in issue #256
Toggle commit list
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