1
1

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.
Этот коммит содержится в:
Ralph Castain 2011-08-22 16:28:40 +00:00
родитель 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; \
} \
} \