Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
dbc800ca
Commit
dbc800ca
authored
9 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
use 's' instead of '&e->sched'.
parent
aee41060
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!136
Master
,
!113
Local variable cleanup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/engine.c
+4
-4
4 additions, 4 deletions
src/engine.c
with
4 additions
and
4 deletions
src/engine.c
+
4
−
4
View file @
dbc800ca
...
...
@@ -375,10 +375,10 @@ void engine_addtasks_send(struct engine *e, struct cell *ci, struct cell *cj) {
/* Create the tasks. */
struct
task
*
t_xv
=
scheduler_addtask
(
&
e
->
sched
,
task_type_send
,
task_subtype_none
,
scheduler_addtask
(
s
,
task_type_send
,
task_subtype_none
,
2
*
ci
->
tag
,
0
,
ci
,
cj
,
0
);
struct
task
*
t_rho
=
scheduler_addtask
(
&
e
->
sched
,
task_type_send
,
task_subtype_none
,
scheduler_addtask
(
s
,
task_type_send
,
task_subtype_none
,
2
*
ci
->
tag
+
1
,
0
,
ci
,
cj
,
0
);
/* The send_rho task depends on the cell's ghost task. */
...
...
@@ -422,10 +422,10 @@ void engine_addtasks_recv(struct engine *e, struct cell *c, struct task *t_xv,
/* Create the tasks. */
t_xv
=
c
->
recv_xv
=
scheduler_addtask
(
&
e
->
sched
,
task_type_recv
,
task_subtype_none
,
scheduler_addtask
(
s
,
task_type_recv
,
task_subtype_none
,
2
*
c
->
tag
,
0
,
c
,
NULL
,
0
);
t_rho
=
c
->
recv_rho
=
scheduler_addtask
(
&
e
->
sched
,
task_type_recv
,
task_subtype_none
,
scheduler_addtask
(
s
,
task_type_recv
,
task_subtype_none
,
2
*
c
->
tag
+
1
,
0
,
c
,
NULL
,
0
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment