Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rw0x0 committed Jan 14, 2025
1 parent 24ffaa6 commit 4a8d560
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions iris-mpc-gpu/src/threshold_ring/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2523,6 +2523,13 @@ impl Circuits {

// Result is in the first bit of the result buffer
let result = self.take_result_buffer();
let test =
dtoh_on_stream_sync(&result[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap();
tracing::warn!("result.a: id: {} {:?}", self.prev_id, test);
let test =
dtoh_on_stream_sync(&result[0].b.slice(0..16), &self.devs[0], &streams[0]).unwrap();
tracing::warn!("result.b: id: {} {:?}", self.prev_id, test);

let mut bits = Vec::with_capacity(self.n_devices);
for r in result.iter() {
// Result is in the first bit of the input
Expand Down

0 comments on commit 4a8d560

Please sign in to comment.