Skip to content

Commit

Permalink
Update use of 'allowed_cpuset' to 'cpuset' for hwloc_via_chapel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Ciesko (-EXP) committed Jan 6, 2021
1 parent 690f746 commit 0c09373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/affinity/hwloc_via_chapel.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void INTERNAL qt_affinity_set(qthread_worker_t *me,
(int)hwloc_get_nbobjs_inside_cpuset_by_type(topology, allowed_cpuset, HWLOC_OBJ_PU));
int shep_pus = hwloc_get_nbobjs_inside_cpuset_by_type(topology, obj->cpuset, HWLOC_OBJ_PU);
assert(shep_pus > 0);
unsigned int worker_pus = hwloc_get_nbobjs_inside_cpuset_by_type(topology, worker0->allowed_cpuset, HWLOC_OBJ_PU);
unsigned int worker_pus = hwloc_get_nbobjs_inside_cpuset_by_type(topology, worker0->cpuset, HWLOC_OBJ_PU);
unsigned int wraparounds = me->packed_worker_id / (maxshepobjs * nworkerspershep);
unsigned int worker_wraparounds = me->worker_id / workerobjs_per_shep;
hwloc_obj_t sub_obj =
Expand Down

0 comments on commit 0c09373

Please sign in to comment.