From 65347558b3d347eda15534cdc446f258f7b6aeca Mon Sep 17 00:00:00 2001 From: Nick Sarkauskas Date: Tue, 13 Aug 2024 12:29:49 -0700 Subject: [PATCH] CORE: Review feedback --- src/schedule/ucc_schedule.h | 2 +- src/utils/ucc_coll_utils.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/schedule/ucc_schedule.h b/src/schedule/ucc_schedule.h index a07cd1b39e..def89d5e05 100644 --- a/src/schedule/ucc_schedule.h +++ b/src/schedule/ucc_schedule.h @@ -226,7 +226,7 @@ static inline ucc_status_t ucc_task_complete(ucc_coll_task_t *task) status = ucc_mc_free(save->scratch); if (ucc_unlikely(status != UCC_OK)) { ucc_error("error freeing scratch asymmetric buffer: %s", - ucc_status_string(status)); + ucc_status_string(status)); } save->scratch = NULL; } diff --git a/src/utils/ucc_coll_utils.c b/src/utils/ucc_coll_utils.c index 4445999fef..8e6e32c13e 100644 --- a/src/utils/ucc_coll_utils.c +++ b/src/utils/ucc_coll_utils.c @@ -122,8 +122,8 @@ ucc_coll_args_init_asymmetric_buffer(ucc_coll_args_t *args, &args->dst.info, sizeof(ucc_coll_buffer_info_t)); status = ucc_mc_alloc(&save_info->scratch, ucc_dt_size(args->dst.info.datatype) * - args->dst.info.count, - mem_type); + args->dst.info.count, + mem_type); if (ucc_unlikely(UCC_OK != status)) { ucc_error("failed to allocate replacement " "memory for asymmetric buffer"); @@ -140,7 +140,7 @@ ucc_coll_args_init_asymmetric_buffer(ucc_coll_args_t *args, status = ucc_mc_alloc(&save_info->scratch, ucc_coll_args_get_total_count(args, args->dst.info_v.counts, team->size), - args->src.info.mem_type); + args->src.info.mem_type); if (ucc_unlikely(UCC_OK != status)) { ucc_error("failed to allocate replacement " "memory for asymmetric buffer");