OSHMEM: make sure scoll components are opened/closed
Refs trac:3763 This commit was SVN r30267. The following Trac tickets were found above: Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
Этот коммит содержится в:
родитель
5359647bca
Коммит
4cc9b328b9
@ -95,11 +95,16 @@ static int mca_scoll_base_close(void)
|
|||||||
mca_scoll_sync_array = NULL;
|
mca_scoll_sync_array = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return OSHMEM_SUCCESS;
|
return mca_base_framework_components_close(&oshmem_scoll_base_framework, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mca_scoll_base_open(mca_base_open_flag_t flags)
|
static int mca_scoll_base_open(mca_base_open_flag_t flags)
|
||||||
{
|
{
|
||||||
|
/* Open up all available components */
|
||||||
|
if (OPAL_SUCCESS !=
|
||||||
|
mca_base_framework_components_open(&oshmem_scoll_base_framework, flags)) {
|
||||||
|
return OSHMEM_ERROR;
|
||||||
|
}
|
||||||
return OSHMEM_SUCCESS;
|
return OSHMEM_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user