Merge pull request #1595 from hjelmn/sparse_group_fix
ompi/group: fix sparse group proc reference counting
Этот коммит содержится в:
Коммит
a068b9483b
@ -275,6 +275,10 @@ static void ompi_group_destruct(ompi_group_t *group)
|
||||
the proc counts are not increased during the constructor,
|
||||
either). */
|
||||
|
||||
#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 */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user