coll/ml: cleanup tabs, indentation, and trailing whitespace in
bcol_basesmuma_bcast.c This commit was SVN r31192.
Этот коммит содержится в:
родитель
d241f95af1
Коммит
128cfe0a39
@ -93,20 +93,18 @@ int bcol_basesmuma_bcast_init(mca_bcol_base_module_t *super)
|
|||||||
bcol_basesmuma_lmsg_scatter_allgather_portals_nb_knownroot_bcast);
|
bcol_basesmuma_lmsg_scatter_allgather_portals_nb_knownroot_bcast);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
/*
|
/*
|
||||||
if (super->use_hdl) {
|
if (super->use_hdl) {
|
||||||
mca_bcol_base_set_attributes(super, &comm_attribs, &inv_attribs,
|
mca_bcol_base_set_attributes(super, &comm_attribs, &inv_attribs,
|
||||||
bcol_basesmuma_hdl_zerocopy_bcast,
|
bcol_basesmuma_hdl_zerocopy_bcast,
|
||||||
bcol_basesmuma_hdl_zerocopy_bcast);
|
bcol_basesmuma_hdl_zerocopy_bcast);
|
||||||
} else { */
|
} else { */
|
||||||
mca_bcol_base_set_attributes(super, &comm_attribs, &inv_attribs,
|
mca_bcol_base_set_attributes(super, &comm_attribs, &inv_attribs, NULL, NULL);
|
||||||
NULL,
|
|
||||||
NULL);
|
|
||||||
/*
|
/*
|
||||||
bcol_basesmuma_binary_scatter_allgather_segment,
|
bcol_basesmuma_binary_scatter_allgather_segment,
|
||||||
bcol_basesmuma_binary_scatter_allgather_segment);
|
bcol_basesmuma_binary_scatter_allgather_segment);
|
||||||
*/
|
*/
|
||||||
/* } */
|
/* } */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
@ -471,7 +469,7 @@ int bcol_basesmuma_hdl_zerocopy_bcast(bcol_function_args_t *input_args,
|
|||||||
goto Release;
|
goto Release;
|
||||||
}
|
}
|
||||||
|
|
||||||
Release:
|
Release:
|
||||||
/* if I am the last instance of a basesmuma function in this collectie,
|
/* if I am the last instance of a basesmuma function in this collectie,
|
||||||
* release the resrouces */
|
* release the resrouces */
|
||||||
if (IS_LAST_BCOL_FUNC(c_input_args)) {
|
if (IS_LAST_BCOL_FUNC(c_input_args)) {
|
||||||
@ -483,7 +481,7 @@ Release:
|
|||||||
my_ctl_pointer->starting_flag_value += 1;
|
my_ctl_pointer->starting_flag_value += 1;
|
||||||
|
|
||||||
return BCOL_FN_COMPLETE;
|
return BCOL_FN_COMPLETE;
|
||||||
exit_ERROR:
|
exit_ERROR:
|
||||||
return OMPI_ERROR;
|
return OMPI_ERROR;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user