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

Plonky2 prover in Cuda #68

Open
doutv opened this issue Sep 19, 2024 · 2 comments
Open

Plonky2 prover in Cuda #68

doutv opened this issue Sep 19, 2024 · 2 comments
Assignees

Comments

@doutv
Copy link
Collaborator

doutv commented Sep 19, 2024

Implement all these code in Cuda, reduce CPU <-> GPU communication, data transfer between CPU and GPU only happens once.

Starting from here: "commit to quotient polys", PolynomialBatch::<F, C, D>::from_coeffs
All data should remain in GPU. After finishing proving, transfer the final proof to CPU

https://github.com/okx/plonky2/blob/b74c2ac48bd25df0cbdee2e4b3871f63b631178d/plonky2/src/plonk/prover.rs#L281-L337

This is a meta issue

@doutv
Copy link
Collaborator Author

doutv commented Sep 19, 2024

@doutv
Copy link
Collaborator Author

doutv commented Sep 20, 2024

We can write unit test first, ensure the output of Plonky2 CPU code is the same as our GPU code. TDD method

@doutv doutv self-assigned this Sep 23, 2024
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