Uh oh!
There was an error while loading. Please reload this page.
Native Sumcheck Layer Evaluation - #8
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| self.memory_bridge | ||
| .read( | ||
| MemoryAddress::new(self.address_space, register_ptrs[0] + AB::F::from_canonical_usize(EXT_DEG * 2 - 1) + curr_prod_n), |
There was a problem hiding this comment.
I see, since curr_prod_n starts from 1.
There was a problem hiding this comment.
The formula is rewritten to make sure it's clear the -1 is grouped with curr_prod_n. Comment added.
| self.memory_bridge | ||
| .read( | ||
| MemoryAddress::new(self.address_space, register_ptrs[0] + AB::F::from_canonical_usize(EXT_DEG * 2 - 1) + ctx[1] + curr_logup_n), |
There was a problem hiding this comment.
The formula is rewritten to make sure it's clear the -1 is grouped with curr_logup_n. Comment added.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Add a custom opcode
SUMCHECK_LAYER_EVALfor calculating layer evaluation.v'[b] = v[b,0] * v[b,1];p'[b] = p[b,0]*q[b,1] + p[b,1]*q[b,0], q'[b] = q[b,0]*q[b,1]The new added opcode supports two modes:
p[r] = eq(0,r)*p[0] + eq(1,r)*p[1].Layout
Each row is able to process 1 product sumcheck or 1 logup sumcheck.
Performance
layout for new chip
NativeSumcheck