If we are on a single processor, then we are effectively bound - so have the macro correctly report it.
Thanks to Pascal Deveze for the patch. This commit was SVN r25068.
Этот коммит содержится в:
родитель
98f382ba0e
Коммит
df28c63164
@ -217,7 +217,8 @@ typedef struct opal_paffinity_base_cpu_set_t {
|
||||
num_bound++; \
|
||||
} \
|
||||
} \
|
||||
if (0 < num_bound && num_bound < num_processors) { \
|
||||
if (0 < num_bound && (1 == num_processors || \
|
||||
num_bound < num_processors)) { \
|
||||
*(bound) = true; \
|
||||
} \
|
||||
} \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user