Open jayavanth opened 5 months ago
The implementations are not currently multi-threaded. They can be easily made to run with multi-threading, as the data dependency is simple.
Both places could be parallelized for sure. It may be more useful to parallelize the online part, and you can use different parallelism in rotations (maybe just up to the number of RLWE contexts as it is a sequential operation per RLWE context) and inner product (could be a multiple of RLWE contexts).
Wondering if the RLWE operations are multi-threaded (is it just 4 threads?) and if the DB pre-processing can also be made multi-threaded