Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize NTT calls #5

Open
guy-ingo opened this issue Mar 9, 2023 · 0 comments
Open

Optimize NTT calls #5

guy-ingo opened this issue Mar 9, 2023 · 0 comments

Comments

@guy-ingo
Copy link

guy-ingo commented Mar 9, 2023

Currently, the main flow uses ntt_end2end which generates and copies the twiddle factors to the gpu on every run.

This can be optimized by:

  1. generating twiddle factors for the maximal size needed for the flow (which is 4096) at the beginning of the protocol, and copy them to the device.
  2. Change the main flow to use ntt and ecntt instead of the end2end functions.
  3. delete the twiddle factors from the device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant