Skip to content

Optimizations for KeySwitchCore/EvalFastRotation#1187

Merged
yspolyakov merged 1 commit into
devfrom
issue1186
May 18, 2026
Merged

Optimizations for KeySwitchCore/EvalFastRotation#1187
yspolyakov merged 1 commit into
devfrom
issue1186

Conversation

@pascoec
Copy link
Copy Markdown
Collaborator

@pascoec pascoec commented May 9, 2026

Modified the implementation of EvalFastRotation() for Hybrid Keyswitching to invert the order of ModDown() and AutomorphismTransform() as described in equation 11 of KLK+22. The change trades slightly higher computation for better memory performance and a significant performance boost on GPU backends. Other optimizations within KeySwitchCore lead to faster performance than the previous implementation.

@pascoec pascoec added this to the Release 1.6.0 milestone May 9, 2026
@pascoec pascoec requested a review from yspolyakov May 9, 2026 04:21
@pascoec pascoec self-assigned this May 9, 2026
@pascoec pascoec added the optimization Improves performance label May 9, 2026
@pascoec pascoec linked an issue May 9, 2026 that may be closed by this pull request
@pascoec pascoec changed the title Optimizations for EvalFastRotation Optimizations for KeySwitchCore/EvalFastRotation May 13, 2026
@yspolyakov yspolyakov merged commit b238731 into dev May 18, 2026
32 checks passed
@pascoec pascoec deleted the issue1186 branch May 18, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimization Improves performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimizations for EvalFastRotation

2 participants