From ceff1c171e430afc80cc0463b122966149b80178 Mon Sep 17 00:00:00 2001 From: Roman Walch <9820846+rw0x0@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:12:44 +0100 Subject: [PATCH] fix an int/size_t error for kernels! --- iris-mpc-gpu/src/threshold_ring/protocol.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iris-mpc-gpu/src/threshold_ring/protocol.rs b/iris-mpc-gpu/src/threshold_ring/protocol.rs index 33f2dc71e..bdf7e1fc9 100644 --- a/iris-mpc-gpu/src/threshold_ring/protocol.rs +++ b/iris-mpc-gpu/src/threshold_ring/protocol.rs @@ -616,7 +616,7 @@ impl Circuits { .launch_on_stream( &streams[idx], cfg, - (&des.a, &des.b, &src.a, &src.b, src.len() as i32), + (&des.a, &des.b, &src.a, &src.b, src.len()), ) .unwrap(); } @@ -643,7 +643,7 @@ impl Circuits { .launch_on_stream( &streams[idx], cfg, - (&des.a, &des.b, &src.a, &src.b, src.len() as i32), + (&des.a, &des.b, &src.a, &src.b, src.len()), ) .unwrap(); }