Skip to content

Commit 7c1bd89

Browse files
authored
Merge pull request #9352 from vspetrov/master
coll/ucc: fill count/dtype in dst.info for allreduce/reduce
2 parents 5e42613 + 0807045 commit 7c1bd89

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ompi/mca/coll/ucc/coll_ucc_allreduce.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ static inline ucc_status_t mca_coll_ucc_allreduce_init(const void *sbuf, void *r
4141
},
4242
.dst.info = {
4343
.buffer = rbuf,
44+
.count = count,
45+
.datatype = ucc_dt,
4446
.mem_type = UCC_MEMORY_TYPE_UNKNOWN
4547
},
4648
.reduce = {

ompi/mca/coll/ucc/coll_ucc_reduce.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ static inline ucc_status_t mca_coll_ucc_reduce_init(const void *sbuf, void *rbuf
4343
},
4444
.dst.info = {
4545
.buffer = rbuf,
46+
.count = count,
47+
.datatype = ucc_dt,
4648
.mem_type = UCC_MEMORY_TYPE_UNKNOWN
4749
},
4850
.reduce = {

0 commit comments

Comments
 (0)