- Patch r18658 introduced NUMA awareness and memory affinity for
BTL/sm. This static variable needlessly ends up in the so.-file. init_maffinity is called once from sm_btl_first_time_init. Checked with lennyve, static here is not necessary. This commit was SVN r21813. The following SVN revision numbers were found above: r18658 --> open-mpi/ompi@f4811d6c4d
Этот коммит содержится в:
родитель
261d34db3a
Коммит
02a39a208d
@ -114,7 +114,7 @@ static void *mpool_calloc(size_t nmemb, size_t size)
|
|||||||
|
|
||||||
static void init_maffinity(int *my_mem_node, int *max_mem_node)
|
static void init_maffinity(int *my_mem_node, int *max_mem_node)
|
||||||
{
|
{
|
||||||
static opal_carto_graph_t *topo;
|
opal_carto_graph_t *topo;
|
||||||
opal_value_array_t dists;
|
opal_value_array_t dists;
|
||||||
int i, num_core, socket;
|
int i, num_core, socket;
|
||||||
opal_paffinity_base_cpu_set_t cpus;
|
opal_paffinity_base_cpu_set_t cpus;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user