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

Add ec-gpu support #22

Closed
str4d opened this issue Oct 5, 2021 · 3 comments
Closed

Add ec-gpu support #22

str4d opened this issue Oct 5, 2021 · 3 comments

Comments

@str4d
Copy link
Contributor

str4d commented Oct 5, 2021

We want to be able to leverage GPUs in halo2, via the ec-gpu crate. This requires two changes:

  • The curve implementation needs to support producing the GPU kernel for finite field arithmetic.
  • halo2 needs to use GPU-aware MSM and FFT algorithms.

This issue covers the first change. We should implement the GpuField trait from the ec-gpu crate (behind a gpu feature flag), and then the ec-gpu-gen crate should be able to generate the necessary CUDA/OpenCL source code.

@dignifiedquire
Copy link
Contributor

Note: currently the MSM and FFT implementations are still in bellperson, ec-gpu-gen just contains the generic curve & field operations.

@str4d
Copy link
Contributor Author

str4d commented Apr 2, 2022

Closed by #31.

@str4d str4d closed this as completed Apr 2, 2022
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

2 participants