Commit 733d724f authored by Sebastian Woelke's avatar Sebastian Woelke

for testing

parent d26c8e28
......@@ -446,6 +446,7 @@ public:
auto& wdata = d(self);
auto& cdata = d(self->parent());
auto current_pu = hwloc_bitmap_make_wrapper();
hwloc_bitmap_set(current_pu.get(), static_cast<unsigned int>(self->id()));
int res = 0;
if (wdata.actor_pinning_entity == atom("nop")) {
wdata.xxx(current_pu.get(), "no cpu pinnning");
......@@ -453,7 +454,6 @@ public:
HWLOC_CPUBIND_THREAD | HWLOC_CPUBIND_NOMEMBIND);
} else {
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(),
HWLOC_CPUBIND_THREAD | HWLOC_CPUBIND_NOMEMBIND);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment