Skip to content

Commit e62f816

Browse files
author
Valentin Petrov
committed
coll/ucc: pass team id
Signed-off-by: Valentin Petrov <[email protected]>
1 parent ef17dcb commit e62f816

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ompi/mca/coll/ucc/coll_ucc_module.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,10 @@ static int mca_coll_ucc_module_enable(mca_coll_base_module_t *module,
378378
ucc_status_t status;
379379
int rc;
380380
ucc_team_params_t team_params = {
381-
.mask = UCC_TEAM_PARAM_FIELD_EP_MAP |
382-
UCC_TEAM_PARAM_FIELD_EP |
383-
UCC_TEAM_PARAM_FIELD_EP_RANGE,
381+
.mask = UCC_TEAM_PARAM_FIELD_EP_MAP |
382+
UCC_TEAM_PARAM_FIELD_EP |
383+
UCC_TEAM_PARAM_FIELD_EP_RANGE |
384+
UCC_TEAM_PARAM_FIELD_ID,
384385
.ep_map = {
385386
.type = (comm == &ompi_mpi_comm_world.comm) ?
386387
UCC_EP_MAP_FULL : UCC_EP_MAP_CB,
@@ -389,7 +390,8 @@ static int mca_coll_ucc_module_enable(mca_coll_base_module_t *module,
389390
.cb.cb_ctx = (void*)comm
390391
},
391392
.ep = ompi_comm_rank(comm),
392-
.ep_range = UCC_COLLECTIVE_EP_RANGE_CONTIG
393+
.ep_range = UCC_COLLECTIVE_EP_RANGE_CONTIG,
394+
.id = comm->c_contextid
393395
};
394396
UCC_VERBOSE(2,"creating ucc_team for comm %p, comm_id %d, comm_size %d",
395397
(void*)comm,comm->c_contextid,ompi_comm_size(comm));

0 commit comments

Comments
 (0)