Skip to content

Commit 8269a70

Browse files
authored
Merge pull request #10003 from edgargabriel/topic/ucc-coll-contextid
coll/ucc: replace contextid by function call
2 parents 6423914 + 6618dcf commit 8269a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/ucc/coll_ucc_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ static int mca_coll_ucc_module_enable(mca_coll_base_module_t *module,
391391
},
392392
.ep = ompi_comm_rank(comm),
393393
.ep_range = UCC_COLLECTIVE_EP_RANGE_CONTIG,
394-
.id = comm->c_contextid
394+
.id = ompi_comm_get_local_cid(comm)
395395
};
396396
UCC_VERBOSE(2,"creating ucc_team for comm %p, comm_id %d, comm_size %d",
397397
(void*)comm,comm->c_contextid,ompi_comm_size(comm));

0 commit comments

Comments
 (0)