Skip to content

Commit

Permalink
TOOLS: fix allgatherv init in perftest (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev authored Oct 11, 2024
1 parent e5cb294 commit 112d078
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/perf/ucc_pt_coll_allgatherv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ ucc_pt_coll_allgatherv::ucc_pt_coll_allgatherv(ucc_datatype_t dt,
has_bw_ = false;
root_shift_ = 0;

coll_args.mask |= UCC_COLL_ARGS_FIELD_FLAGS;
coll_args.flags |= UCC_COLL_ARGS_FLAG_IN_PLACE;
coll_args.mask = UCC_COLL_ARGS_FIELD_FLAGS;
coll_args.flags = UCC_COLL_ARGS_FLAG_CONTIG_DST_BUFFER;
coll_args.coll_type = UCC_COLL_TYPE_ALLGATHERV;
coll_args.src.info.datatype = dt;
coll_args.src.info.mem_type = mt;
coll_args.dst.info_v.datatype = dt;
coll_args.dst.info_v.mem_type = mt;

if (is_inplace) {
coll_args.mask = UCC_COLL_ARGS_FIELD_FLAGS;
coll_args.flags = UCC_COLL_ARGS_FLAG_IN_PLACE;
coll_args.mask |= UCC_COLL_ARGS_FIELD_FLAGS;
coll_args.flags |= UCC_COLL_ARGS_FLAG_IN_PLACE;
}

if (is_persistent) {
Expand Down

0 comments on commit 112d078

Please sign in to comment.