From 4113cf105ca7e8db6b88a2ba55835be49ec24dd0 Mon Sep 17 00:00:00 2001 From: Ilya Kryukov Date: Tue, 10 Dec 2024 17:53:26 +0100 Subject: [PATCH] TL/CUDA: fixed build --- src/components/tl/cuda/bcast/bcast_linear.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/tl/cuda/bcast/bcast_linear.c b/src/components/tl/cuda/bcast/bcast_linear.c index d7fa22b1c9..16cf96353c 100644 --- a/src/components/tl/cuda/bcast/bcast_linear.c +++ b/src/components/tl/cuda/bcast/bcast_linear.c @@ -209,7 +209,8 @@ static void ucc_tl_cuda_bcast_linear_progress(ucc_coll_task_t *coll_task) st = ucc_tl_cuda_bcast_linear_setup_test(task); if (st != UCC_OK) { task->super.status = st; - return;the copy operation from the root's scratch buffer + return; + } if (trank == task->bcast_linear.root) { task->bcast_linear.stage = STAGE_COPY; } else { @@ -257,7 +258,7 @@ static void ucc_tl_cuda_bcast_linear_progress(ucc_coll_task_t *coll_task) return; } case STAGE_WAIT_ALL: - for (i = 0; i < tsize; ++i) {the copy operation from the root's scratch buffer + for (i = 0; i < tsize; ++i) { if (UCC_COLL_ARGS_ACTIVE_SET(&TASK_ARGS(task))) { // eval phys rank from virt peer = ucc_ep_map_eval(task->subset.map, i);