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

Perf parallel solver #259

Merged
merged 4 commits into from
Feb 15, 2022
Merged

Perf parallel solver #259

merged 4 commits into from
Feb 15, 2022

Conversation

gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented Feb 14, 2022

Fixes #251 .

R1CS and SparseR1CS solver are now parallel. The scheduling is not optimal, but better strategies do not scale well with very large circuits and make compile time explode.

Strategy used here is to build a list of independent constraints at compile time, which can be solved in parallel at solving time.

@gbotrel gbotrel added the perf label Feb 14, 2022
@gbotrel gbotrel added this to the v0.7.0 milestone Feb 14, 2022
@gbotrel gbotrel marked this pull request as draft February 14, 2022 19:02
@gbotrel gbotrel force-pushed the perf-parallel-solver branch from a8b4195 to 42b4e42 Compare February 14, 2022 19:48
@gbotrel gbotrel marked this pull request as ready for review February 14, 2022 19:54
@gbotrel gbotrel merged commit 070d680 into develop Feb 15, 2022
@gbotrel gbotrel deleted the perf-parallel-solver branch February 15, 2022 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants