From 39b24304e2671c1d05d9eeb3181c586ad779fc2a Mon Sep 17 00:00:00 2001 From: Sergey Lebedev Date: Thu, 10 Oct 2024 13:21:50 +0400 Subject: [PATCH] TOOLS: fix allgatherv init in perftest --- tools/perf/ucc_pt_coll_allgatherv.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/ucc_pt_coll_allgatherv.cc b/tools/perf/ucc_pt_coll_allgatherv.cc index dbcb8456a5..806779fee8 100644 --- a/tools/perf/ucc_pt_coll_allgatherv.cc +++ b/tools/perf/ucc_pt_coll_allgatherv.cc @@ -21,8 +21,8 @@ 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; @@ -30,8 +30,8 @@ ucc_pt_coll_allgatherv::ucc_pt_coll_allgatherv(ucc_datatype_t 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) {