From 4a8d560ce4b418b5a0fa1777335b323cb76219ad Mon Sep 17 00:00:00 2001 From: Roman Walch <9820846+rw0x0@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:02:10 +0100 Subject: [PATCH] . --- iris-mpc-gpu/src/threshold_ring/protocol.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/iris-mpc-gpu/src/threshold_ring/protocol.rs b/iris-mpc-gpu/src/threshold_ring/protocol.rs index 78ce8e4e2..1f5eaba5b 100644 --- a/iris-mpc-gpu/src/threshold_ring/protocol.rs +++ b/iris-mpc-gpu/src/threshold_ring/protocol.rs @@ -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