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 599d06f commit b2065f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iris-mpc-gpu/src/threshold_ring/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2512,6 +2512,9 @@ impl Circuits {
self.bit_inject_arithmetic_xor(&bits, &mut x, streams);
// Sum all elements in x to get the result in the first 32 bit word on each GPU
self.collapse_sum(&mut x, streams);
let test =
dtoh_on_stream_sync(&x[0].a.slice(0..1), &self.devs[0], &streams[0]).unwrap()[0];
println!("A: {}", test);
// Get data onto the first GPU
if self.n_devices > 1 {
self.collect_graphic_result_u32(&mut x, streams);
Expand Down

0 comments on commit b2065f8

Please sign in to comment.