homenc / HElib

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
https://homenc.github.io/HElib
Other
3.11k stars 759 forks source link

Multithreading in upgrade, EncodedMatMul constructor #467

Open TabOg opened 2 years ago

TabOg commented 2 years ago

Hi, as observed in the matmul examples, the encoding of linear transformation matrices is quite time consuming, taking a similar amount of time as the actual linear transform. It doesn't seem to me like multithreading is used in the encode constructor or similarly in the upgrade constructor: is this correct? If so, is there a reason adding it would cause problems? TIA!