Skip to content

Commit

Permalink
Merge pull request #16 from zheng871026/huawei
Browse files Browse the repository at this point in the history
Fix bug in discontig datatype
  • Loading branch information
nsosnsos authored Dec 30, 2020
2 parents d002962 + 18e9d1c commit e173486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/coll/ucx/coll_ucx_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ static ucg_group_member_index_t mca_coll_ucx_get_global_member_idx(void *cb_grou
ucg_group_member_index_t index)
{
ompi_communicator_t* comm = (ompi_communicator_t*)cb_group_obj;
return (ucg_group_member_index_t)mcacoll_ucx_find_rank_in_comm_world(comm, (int)index);
return (ucg_group_member_index_t)mca_coll_ucx_find_rank_in_comm_world(comm, (int)index);
}

static void mca_coll_ucg_init_group_param(struct ompi_communicator_t *comm, ucg_group_params_t *args)
Expand Down Expand Up @@ -535,7 +535,7 @@ static int mca_coll_ucx_module_enable(mca_coll_base_module_t *module,

rc = mca_coll_ucg_create(ucx_module, comm);
if (rc != OMPI_SUCCESS) {
OBJ_REALEASE(module->base_data);
OBJ_RELEASE(module->base_data);
return rc;
}

Expand Down

0 comments on commit e173486

Please sign in to comment.