1
1

Silence a few icc warnings and about mixing enums with other types.

This commit was SVN r25560.
Этот коммит содержится в:
Jeff Squyres 2011-12-02 13:18:54 +00:00
родитель 357ac14530
Коммит ecf6ba910c
3 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -1094,7 +1094,9 @@ static hwloc_obj_t df_search_level(hwloc_obj_t start,
} else if (HWLOC_OBJ_PU == start->type) {
*bind_level = OPAL_HWLOC_HWTHREAD_LEVEL;
} else {
*bind_level = 0;
/* We don't know what level it is, so just assign it to
"node" */
*bind_level = OPAL_HWLOC_NODE_LEVEL;
}
return start;
}

Просмотреть файл

@ -421,7 +421,7 @@ static void prune(orte_jobid_t jobid,
/* done */
return;
}
*level -= 1;
--(*level);
prune(jobid, app_idx, node, level, nmapped);
return;
}
@ -550,7 +550,7 @@ static void prune(orte_jobid_t jobid,
if (0 == ll) {
return;
}
*level -= 1;
--(*level);
prune(jobid, app_idx, node, level, nmapped);
return;

Просмотреть файл

@ -651,7 +651,7 @@ int orte_util_decode_pidmap(opal_byte_object_t *bo)
orte_local_rank_t *local_rank=NULL;
orte_node_rank_t *node_rank=NULL;
#if OPAL_HAVE_HWLOC
opal_hwloc_level_t bind_level = 0;
opal_hwloc_level_t bind_level = OPAL_HWLOC_NODE_LEVEL;
unsigned int *bind_idx=NULL;
#endif
orte_std_cntr_t n;