Skip to content

Commit 93bdaff

Browse files
committed
wip6
1 parent 875996b commit 93bdaff

File tree

1 file changed

+0
-28
lines changed
  • extensions/native/circuit/src/sumcheck

1 file changed

+0
-28
lines changed

extensions/native/circuit/src/sumcheck/chip.rs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -419,34 +419,6 @@ where
419419
}
420420

421421
impl<F: PrimeField32> TraceFiller<F> for NativeSumcheckFiller {
422-
/*
423-
fn fill_trace(
424-
&self,
425-
mem_helper: &MemoryAuxColsFactory<F>,
426-
trace: &mut RowMajorMatrix<F>,
427-
rows_used: usize,
428-
) where
429-
F: Send + Sync + Clone,
430-
{
431-
// Split the trace rows by instruction
432-
let width = trace.width();
433-
let mut row_idx = 0;
434-
let mut row_slice = trace.values.as_mut_slice();
435-
let mut chunk_start = Vec::new();
436-
while row_idx < rows_used {
437-
let cols: &NativeSumcheckCols<F> = row_slice[..width].borrow();
438-
let num_rows = cols.num_rows.as_canonical_u32() as usize;
439-
row_idx += num_rows;
440-
let (curr, rest) = row_slice.split_at_mut(num_rows * width);
441-
chunk_start.push(curr);
442-
row_slice = rest;
443-
}
444-
chunk_start.into_par_iter().for_each(|chunk_slice| {
445-
self.fill_trace_row(mem_helper, chunk_slice);
446-
});
447-
}
448-
*/
449-
450422
fn fill_trace_row(&self, mem_helper: &MemoryAuxColsFactory<F>, row_slice: &mut [F]) {
451423
let cols: &mut NativeSumcheckCols<F> = row_slice.borrow_mut();
452424
let start_timestamp = cols.start_timestamp.as_canonical_u32();

0 commit comments

Comments
 (0)