Skip to content

Commit

Permalink
CORE: Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarka committed Aug 13, 2024
1 parent 3fa85da commit 6534755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/schedule/ucc_schedule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
6 changes: 3 additions & 3 deletions src/utils/ucc_coll_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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");
Expand Down

0 comments on commit 6534755

Please sign in to comment.