Skip to content

Commit

Permalink
remove borrows
Browse files Browse the repository at this point in the history
  • Loading branch information
carlomazzaferro committed Jan 24, 2025
1 parent 9222246 commit 6fd7475
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iris-mpc-gpu/src/bin/nccl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ async fn main() -> eyre::Result<()> {
devs[i].bind_to_thread().unwrap();

comms[i]
.broadcast(&slices[i].as_ref(), &mut slices1[i], 0)
.broadcast(slices[i].as_ref(), &mut slices1[i], 0)
.unwrap();
comms[i]
.broadcast(&slices[i].as_ref(), &mut slices2[i], 1)
.broadcast(slices[i].as_ref(), &mut slices2[i], 1)
.unwrap();
comms[i]
.broadcast(&slices[i].as_ref(), &mut slices3[i], 2)
.broadcast(slices[i].as_ref(), &mut slices3[i], 2)
.unwrap();
}

Expand Down

0 comments on commit 6fd7475

Please sign in to comment.