You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Thanks for the awesome project.
I've been playing with it lately and did some little implementations using the examples provided.
So, I have a line that looks like this using FheBool:
// Perform XOR operation on encrypted values
let enc_out: Vec<_> = enc_m0.iter().zip(enc_m1.iter()).map(|(a, b)| a ^ b).collect();
I want to make it parallel:
use rayon::prelude::*;
let enc_out: Vec<_> = enc_m0.par_iter().zip(enc_m1.par_iter()).map(|(a, b)| a ^ b).collect();
But I get errors like this:
thread '<unnamed>' panicked at src/bool/ni_mp_api.rs:169:60:
Parameters not set
thread '<unnamed>' panicked at src/bool/ni_mp_api.rs:169:60:
Parameters not set
thread '<unnamed>' panicked at src/bool/ni_mp_api.rs:169:60:
Parameters not set
can you help me what should I set? I've seen from your commits that did paralelization for key-aggregation that you set some stuff. but I didn't understand well.
Any help is appreciated 😃
The text was updated successfully, but these errors were encountered:
lovely-necromancer
changed the title
Parallelization of FHE operations in bith FheBool and FheUint8
Parallelization of FHE operations in both FheBool and FheUint8
Sep 6, 2024
Hey,
Thanks for the awesome project.
I've been playing with it lately and did some little implementations using the examples provided.
So, I have a line that looks like this using FheBool:
I want to make it parallel:
But I get errors like this:
can you help me what should I set? I've seen from your commits that did paralelization for key-aggregation that you set some stuff. but I didn't understand well.
Any help is appreciated 😃
The text was updated successfully, but these errors were encountered: