Skip to content

Commit

Permalink
await streams
Browse files Browse the repository at this point in the history
  • Loading branch information
philsippl committed Jan 28, 2025
1 parent 42bb753 commit 5c64f64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iris-mpc-gpu/src/server/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,8 @@ impl ServerActor {
let now = std::time::Instant::now();
tracing::info!("Collected enough match distances, starting bucket calculation");

self.device_manager.await_streams(&batch_streams);

let indices = match_distances_indices
.iter()
.enumerate()
Expand Down Expand Up @@ -1315,6 +1317,8 @@ impl ServerActor {
}
}

self.device_manager.await_streams(&batch_streams);

tracing::info!("Bucket calculation took {:?}", now.elapsed());
}

Expand Down

0 comments on commit 5c64f64

Please sign in to comment.