Revert r30966.
cmr=v1.8.1:reviewer=ompi-gk1.8 This commit was SVN r31593. The following SVN revision numbers were found above: r30966 --> open-mpi/ompi@280e96c99a
Этот коммит содержится в:
родитель
0c74d1fd6f
Коммит
6aa5680059
@ -500,12 +500,10 @@ int ompi_mtl_mxm_del_procs(struct mca_mtl_base_module_t *mtl, size_t nprocs,
|
|||||||
* in the way we handle endpoints as objects
|
* in the way we handle endpoints as objects
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < nprocs; ++i) {
|
for (i = 0; i < nprocs; ++i) {
|
||||||
if (((opal_object_t*)procs[i])->obj_reference_count == 1) {
|
mca_mtl_mxm_endpoint_t *endpoint = (mca_mtl_mxm_endpoint_t*)
|
||||||
mca_mtl_mxm_endpoint_t *endpoint = (mca_mtl_mxm_endpoint_t*)
|
procs[i]->proc_endpoints[OMPI_PROC_ENDPOINT_TAG_MTL];
|
||||||
procs[i]->proc_endpoints[OMPI_PROC_ENDPOINT_TAG_MTL];
|
mxm_ep_disconnect(endpoint->mxm_conn);
|
||||||
mxm_ep_disconnect(endpoint->mxm_conn);
|
OBJ_RELEASE(endpoint);
|
||||||
OBJ_RELEASE(endpoint);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user