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
Merge requests
!399
Fix scheduler steal policy
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix scheduler steal policy
fix_scheduler_steal_policy
into
master
Overview
3
Commits
2
Changes
2
Merged
James Willis
requested to merge
fix_scheduler_steal_policy
into
master
7 years ago
Overview
3
Commits
2
Changes
-
Expand
Set
scheduler
steal policy from
engine
policy.
Solves
#347 (closed)
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
a8aedc1f
2 commits,
7 years ago
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
src/engine.c
+
1
−
1
Options
@@ -4483,7 +4483,7 @@ void engine_init(struct engine *e, struct space *s,
/* Init the scheduler with enough tasks for the initial sorting tasks. */
const
int
nr_tasks
=
2
*
s
->
tot_cells
+
2
*
e
->
nr_threads
;
scheduler_init
(
&
e
->
sched
,
e
->
s
,
nr_tasks
,
nr_queues
,
scheduler_flag_steal
,
scheduler_init
(
&
e
->
sched
,
e
->
s
,
nr_tasks
,
nr_queues
,
(
policy
&
scheduler_flag_steal
)
,
e
->
nodeID
,
&
e
->
threadpool
);
/* Allocate and init the threads. */
Loading