Skip to content

Commit

Permalink
TEST: fix alltoall onesided buf mt (openucx#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimmybalsam authored and Kaidrikov Evgeny committed Aug 14, 2023
1 parent ac1616c commit 93190b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/gtest/coll/test_alltoall.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ class test_alltoall : public UccCollArgs, public ucc::test
work_buf = (long *)team->procs[i].p->onesided_buf[2];
coll->mask = UCC_COLL_ARGS_FIELD_FLAGS |
UCC_COLL_ARGS_FIELD_GLOBAL_WORK_BUFFER;
coll->src.info.buffer = sbuf;
coll->dst.info.buffer = rbuf;
coll->flags = UCC_COLL_ARGS_FLAG_MEM_MAPPED_BUFFERS;
coll->flags = UCC_COLL_ARGS_FLAG_MEM_MAPPED_BUFFERS;
coll->src.info.buffer = sbuf;
coll->src.info.mem_type = UCC_MEMORY_TYPE_HOST;
coll->dst.info.buffer = rbuf;
coll->dst.info.mem_type = UCC_MEMORY_TYPE_HOST;
coll->global_work_buffer = work_buf;
} else {
UCC_CHECK(ucc_mc_alloc(
Expand Down

0 comments on commit 93190b2

Please sign in to comment.