From b2065f8c464120178a70afd9aedeb961ff55bd9b Mon Sep 17 00:00:00 2001 From: Roman Walch <9820846+rw0x0@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:08:53 +0100 Subject: [PATCH] . --- iris-mpc-gpu/src/threshold_ring/protocol.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iris-mpc-gpu/src/threshold_ring/protocol.rs b/iris-mpc-gpu/src/threshold_ring/protocol.rs index 33f2dc71e..473fcfbf7 100644 --- a/iris-mpc-gpu/src/threshold_ring/protocol.rs +++ b/iris-mpc-gpu/src/threshold_ring/protocol.rs @@ -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);