PML/SPML/UCX/COMPONENT: applied C99 initialization
Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com>
Этот коммит содержится в:
родитель
2806504290
Коммит
d204b8a678
@ -26,25 +26,25 @@ mca_pml_base_component_2_0_0_t mca_pml_ucx_component = {
|
||||
|
||||
/* First, the mca_base_component_t struct containing meta
|
||||
* information about the component itself */
|
||||
{
|
||||
.pmlm_version = {
|
||||
MCA_PML_BASE_VERSION_2_0_0,
|
||||
|
||||
"ucx", /* MCA component name */
|
||||
OMPI_MAJOR_VERSION, /* MCA component major version */
|
||||
OMPI_MINOR_VERSION, /* MCA component minor version */
|
||||
OMPI_RELEASE_VERSION, /* MCA component release version */
|
||||
mca_pml_ucx_component_open, /* component open */
|
||||
mca_pml_ucx_component_close, /* component close */
|
||||
NULL,
|
||||
mca_pml_ucx_component_register,
|
||||
.mca_component_name = "ucx",
|
||||
.mca_component_major_version = OMPI_MAJOR_VERSION,
|
||||
.mca_component_minor_version = OMPI_MINOR_VERSION,
|
||||
.mca_component_release_version = OMPI_RELEASE_VERSION,
|
||||
.mca_open_component = mca_pml_ucx_component_open,
|
||||
.mca_close_component = mca_pml_ucx_component_close,
|
||||
.mca_query_component = NULL,
|
||||
.mca_register_component_params = mca_pml_ucx_component_register,
|
||||
},
|
||||
{
|
||||
.pmlm_data = {
|
||||
/* This component is not checkpoint ready */
|
||||
MCA_BASE_METADATA_PARAM_NONE
|
||||
.param_field = MCA_BASE_METADATA_PARAM_NONE
|
||||
},
|
||||
|
||||
mca_pml_ucx_component_init, /* component init */
|
||||
mca_pml_ucx_component_fini /* component finalize */
|
||||
.pmlm_init = mca_pml_ucx_component_init,
|
||||
.pmlm_finalize = mca_pml_ucx_component_fini
|
||||
};
|
||||
|
||||
static int mca_pml_ucx_component_register(void)
|
||||
|
@ -38,26 +38,25 @@ mca_spml_base_component_2_0_0_t mca_spml_ucx_component = {
|
||||
/* First, the mca_base_component_t struct containing meta
|
||||
information about the component itself */
|
||||
|
||||
{
|
||||
MCA_SPML_BASE_VERSION_2_0_0,
|
||||
|
||||
"ucx", /* MCA component name */
|
||||
OSHMEM_MAJOR_VERSION, /* MCA component major version */
|
||||
OSHMEM_MINOR_VERSION, /* MCA component minor version */
|
||||
OSHMEM_RELEASE_VERSION, /* MCA component release version */
|
||||
mca_spml_ucx_component_open, /* component open */
|
||||
mca_spml_ucx_component_close, /* component close */
|
||||
NULL,
|
||||
mca_spml_ucx_component_register
|
||||
.spmlm_version = {
|
||||
MCA_SPML_BASE_VERSION_2_0_0,
|
||||
|
||||
.mca_component_name = "ucx",
|
||||
.mca_component_major_version = OSHMEM_MAJOR_VERSION,
|
||||
.mca_component_minor_version = OSHMEM_MINOR_VERSION,
|
||||
.mca_component_release_version = OSHMEM_RELEASE_VERSION,
|
||||
.mca_open_component = mca_spml_ucx_component_open,
|
||||
.mca_close_component = mca_spml_ucx_component_close,
|
||||
.mca_query_component = NULL,
|
||||
.mca_register_component_params = mca_spml_ucx_component_register
|
||||
},
|
||||
{
|
||||
.spmlm_data = {
|
||||
/* The component is checkpoint ready */
|
||||
MCA_BASE_METADATA_PARAM_CHECKPOINT
|
||||
.param_field = MCA_BASE_METADATA_PARAM_CHECKPOINT
|
||||
},
|
||||
|
||||
mca_spml_ucx_component_init, /* component init */
|
||||
mca_spml_ucx_component_fini /* component finalize */
|
||||
|
||||
.spmlm_init = mca_spml_ucx_component_init,
|
||||
.spmlm_finalize = mca_spml_ucx_component_fini
|
||||
};
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user