Oops -- set the bits one at a time via _set. Using _cpu effectively
zeroed out the cpuset before setting the bit (i.e., we always had a cpuset of 1). This commit was SVN r23298.
Этот коммит содержится в:
родитель
681df0089b
Коммит
5cdd79ef13
@ -176,7 +176,7 @@ static int module_set(opal_paffinity_base_cpu_set_t mask)
|
|||||||
for (i = 0; ((unsigned int) i) < OPAL_PAFFINITY_BITMASK_T_NUM_BITS; ++i) {
|
for (i = 0; ((unsigned int) i) < OPAL_PAFFINITY_BITMASK_T_NUM_BITS; ++i) {
|
||||||
if (OPAL_PAFFINITY_CPU_ISSET(i, mask) &&
|
if (OPAL_PAFFINITY_CPU_ISSET(i, mask) &&
|
||||||
i < mca_paffinity_hwloc_component.cpuset_max_size) {
|
i < mca_paffinity_hwloc_component.cpuset_max_size) {
|
||||||
hwloc_cpuset_cpu(set, i);
|
hwloc_cpuset_set(set, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user