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
ea8cd415
Commit
ea8cd415
authored
Apr 18, 2017
by
Pedro Gonnet
Browse files
formatting.
parent
83de0627
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
ea8cd415
...
...
@@ -1265,8 +1265,7 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
error
(
"bad flags in sort task."
);
#endif
scheduler_activate
(
s
,
ci
->
sorts
);
if
(
ci
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
ci
->
drift
);
if
(
ci
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
ci
->
drift
);
}
if
(
!
(
cj
->
sorted
&
(
1
<<
t
->
flags
)))
{
#ifdef SWIFT_DEBUG_CHECKS
...
...
@@ -1274,8 +1273,7 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
error
(
"bad flags in sort task."
);
#endif
scheduler_activate
(
s
,
cj
->
sorts
);
if
(
cj
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
cj
->
drift
);
if
(
cj
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
cj
->
drift
);
}
}
...
...
@@ -1307,7 +1305,6 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if
(
l
==
NULL
)
error
(
"Missing link to send_xv task."
);
scheduler_activate
(
s
,
l
->
t
);
if
(
l
->
t
->
ci
->
drift
)
scheduler_activate
(
s
,
l
->
t
->
ci
->
drift
);
else
...
...
src/engine.c
View file @
ea8cd415
...
...
@@ -2497,8 +2497,7 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
error
(
"bad flags in sort task."
);
#endif
scheduler_activate
(
s
,
ci
->
sorts
);
if
(
ci
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
ci
->
drift
);
if
(
ci
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
ci
->
drift
);
}
if
(
!
(
cj
->
sorted
&
(
1
<<
t
->
flags
)))
{
#ifdef SWIFT_DEBUG_CHECKS
...
...
@@ -2506,8 +2505,7 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
error
(
"bad flags in sort task."
);
#endif
scheduler_activate
(
s
,
cj
->
sorts
);
if
(
cj
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
cj
->
drift
);
if
(
cj
->
nodeID
==
engine_rank
)
scheduler_activate
(
s
,
cj
->
drift
);
}
}
...
...
src/runner.c
View file @
ea8cd415
...
...
@@ -1405,7 +1405,7 @@ void runner_do_recv_part(struct runner *r, struct cell *c, int timer) {
timebin_t
time_bin_min
=
num_time_bins
;
timebin_t
time_bin_max
=
0
;
float
h_max
=
0
.
f
;
/* Clear this cell's sorted mask. */
c
->
sorted
=
0
;
...
...
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