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 4a8d560 commit c589392
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 @@ -2496,6 +2496,13 @@ impl Circuits {
thresholds_a: &[u16], // Thresholds are given as a/b, where b=2^16
buckets: &mut ChunkShare<u32>, // Each element in the chunkshares is one bucket
) {
let test =
dtoh_on_stream_sync(&code_dots[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap();
tracing::warn!("code_dots.a: id: {} {:?}", self.prev_id, test);
let test =
dtoh_on_stream_sync(&code_dots[0].b.slice(0..16), &self.devs[0], &streams[0]).unwrap();
tracing::warn!("code_dots.b: id: {} {:?}", self.prev_id, test);

assert_eq!(self.n_devices, code_dots.len());
assert_eq!(self.n_devices, mask_dots.len());
assert_eq!(thresholds_a.len(), buckets.len());
Expand Down

0 comments on commit c589392

Please sign in to comment.