Merge pull request #1595 from hjelmn/sparse_group_fix
ompi/group: fix sparse group proc reference counting
Этот коммит содержится в:
Коммит
a068b9483b
@ -275,7 +275,11 @@ static void ompi_group_destruct(ompi_group_t *group)
|
|||||||
the proc counts are not increased during the constructor,
|
the proc counts are not increased during the constructor,
|
||||||
either). */
|
either). */
|
||||||
|
|
||||||
ompi_group_decrement_proc_count (group);
|
#if OMPI_GROUP_SPARSE
|
||||||
|
if (OMPI_GROUP_IS_DENSE(group))
|
||||||
|
/* sparse groups do not increment proc reference counters */
|
||||||
|
#endif
|
||||||
|
ompi_group_decrement_proc_count (group);
|
||||||
|
|
||||||
/* release thegrp_proc_pointers memory */
|
/* release thegrp_proc_pointers memory */
|
||||||
if (NULL != group->grp_proc_pointers) {
|
if (NULL != group->grp_proc_pointers) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user