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 polynomial out of domain evaluation #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jarnesino
Copy link
Collaborator

@jarnesino jarnesino commented Oct 30, 2024

Parallelize the evaluations of many polynomials at an out of domain points.

Assuming all polys will be evaluated at one unique point in particular.
It's especially useful for wide traces. For instance, it performs ~75% faster for wide Fibonacci of 2^10 columns, each of size 2^16.

@jarnesino jarnesino force-pushed the optimize-poly-eval-out-of-domain branch from a3b7103 to a32acb1 Compare October 30, 2024 03:51
@jarnesino jarnesino marked this pull request as ready for review October 30, 2024 03:52
- This iteration of the optimization assumes all polynomials are of equal size and will be evaluated in the same list of points. It has an assertion to avoid its accidental misuse.
- It has the corresponding tests.
- It has the corresponding benchmark.
@jarnesino jarnesino force-pushed the optimize-poly-eval-out-of-domain branch from a32acb1 to 6459241 Compare October 30, 2024 22:07
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

Successfully merging this pull request may close these issues.

1 participant