Skip to content

Fboemer/rescale in place

Fabian Boemer requested to merge fboemer/rescale-in-place into master
  • Adds ModReduceInPlace (see #252) to CKKS and BGVRns
  • Yields ~1% speedup in CKKS Rescale
CKKS_Rescale               366 us          365 us        11336
CKKS_RescaleInPlace        364 us          362 us        11312
  • Note, the API for ModReduce takes in a levels argument that appears to be unused, so I've added it to the ModReduceInPlace API as well.
  • Some cleanup of EvalAddInPlace. In particular, EvalAdd is implemented as EvalAddInPlace in pubkeylp.h, which enables removal of scheme-specific EvalAdd code.
Edited by Fabian Boemer

Merge request reports