Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
733d724f
Commit
733d724f
authored
Oct 15, 2017
by
Sebastian Woelke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for testing
parent
d26c8e28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libcaf_core/caf/policy/locality_guided_scheduling.hpp
libcaf_core/caf/policy/locality_guided_scheduling.hpp
+1
-1
No files found.
libcaf_core/caf/policy/locality_guided_scheduling.hpp
View file @
733d724f
...
@@ -446,6 +446,7 @@ public:
...
@@ -446,6 +446,7 @@ public:
auto
&
wdata
=
d
(
self
);
auto
&
wdata
=
d
(
self
);
auto
&
cdata
=
d
(
self
->
parent
());
auto
&
cdata
=
d
(
self
->
parent
());
auto
current_pu
=
hwloc_bitmap_make_wrapper
();
auto
current_pu
=
hwloc_bitmap_make_wrapper
();
hwloc_bitmap_set
(
current_pu
.
get
(),
static_cast
<
unsigned
int
>
(
self
->
id
()));
int
res
=
0
;
int
res
=
0
;
if
(
wdata
.
actor_pinning_entity
==
atom
(
"nop"
))
{
if
(
wdata
.
actor_pinning_entity
==
atom
(
"nop"
))
{
wdata
.
xxx
(
current_pu
.
get
(),
"no cpu pinnning"
);
wdata
.
xxx
(
current_pu
.
get
(),
"no cpu pinnning"
);
...
@@ -453,7 +454,6 @@ public:
...
@@ -453,7 +454,6 @@ public:
HWLOC_CPUBIND_THREAD
|
HWLOC_CPUBIND_NOMEMBIND
);
HWLOC_CPUBIND_THREAD
|
HWLOC_CPUBIND_NOMEMBIND
);
}
else
{
}
else
{
wdata
.
xxx
(
current_pu
.
get
(),
"with cpu pinnning"
);
wdata
.
xxx
(
current_pu
.
get
(),
"with cpu pinnning"
);
hwloc_bitmap_set
(
current_pu
.
get
(),
static_cast
<
unsigned
int
>
(
self
->
id
()));
res
=
hwloc_set_cpubind
(
cdata
.
topo
.
get
(),
current_pu
.
get
(),
res
=
hwloc_set_cpubind
(
cdata
.
topo
.
get
(),
current_pu
.
get
(),
HWLOC_CPUBIND_THREAD
|
HWLOC_CPUBIND_NOMEMBIND
);
HWLOC_CPUBIND_THREAD
|
HWLOC_CPUBIND_NOMEMBIND
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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