-
Notifications
You must be signed in to change notification settings - Fork 57
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 compute quotient polys
#198
Comments
Now the time cost distribution on GPU is like:
|
Inspired by Plonky3, we aim to optimize the way we compute /// Add one constraint on all rows.
pub fn constraint(&mut self, constraint: P) {
for (&alpha, acc) in self.alphas.iter().zip(&mut self.constraint_accs) {
*acc *= alpha;
*acc += constraint;
}
} We define The optimization idea is as follows: Here, A stands for
From that, it seems like this idea is complex and does not bring any benefit. |
Description:
Computes the quotient polynomials
(sum alpha^i C_i(x)) / Z_H(x)
foralpha
inalphas
,where the
C_i
s are the Stark constraints. The current implementation is at compute_quotient_polys.Solution: inspired by Plonky3.
The text was updated successfully, but these errors were encountered: