Skip to content

Commit

Permalink
TL/CUDA: fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
ikryukov committed Dec 10, 2024
1 parent b2ad807 commit 4113cf1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/tl/cuda/bcast/bcast_linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4113cf1

Please sign in to comment.