diff --git a/src/components/tl/ucp/allreduce/allreduce_sliding_window.c b/src/components/tl/ucp/allreduce/allreduce_sliding_window.c index b3193dbf68..7a0a5332d6 100644 --- a/src/components/tl/ucp/allreduce/allreduce_sliding_window.c +++ b/src/components/tl/ucp/allreduce/allreduce_sliding_window.c @@ -246,11 +246,22 @@ ucc_tl_ucp_allreduce_sliding_window_barrier(ucc_coll_task_t *coll_task) status = ucc_tl_ucp_coll_init(&coll_args, team, &task->allreduce_sliding_window.barrier_task); - ucc_assert(status == UCC_OK); + if (status < 0) { + tl_error(coll_task->team->context->lib, + "failure during sliding window barrier init: %s", + ucc_status_string(status)); + task->super.status = status; + return; + } status = ucc_tl_ucp_barrier_knomial_start( task->allreduce_sliding_window.barrier_task); - ucc_assert(status >= 0); + if (status < 0) { + tl_error(coll_task->team->context->lib, + "failure during sliding window barrier start: %s", + ucc_status_string(status)); + task->super.status = status; + } } void ucc_tl_ucp_allreduce_sliding_window_progress(ucc_coll_task_t *coll_task) diff --git a/src/components/tl/ucp/tl_ucp_coll.h b/src/components/tl/ucp/tl_ucp_coll.h index 4043a4a47e..93132048b5 100644 --- a/src/components/tl/ucp/tl_ucp_coll.h +++ b/src/components/tl/ucp/tl_ucp_coll.h @@ -190,7 +190,6 @@ typedef struct ucc_tl_ucp_task { ucc_ee_executor_t *executor; int put_window_size; int num_get_bufs; - int tid; ucs_status_ptr_t *put_requests; int service_mode; ucc_service_coll_req_t *allgather_scoll_req;