Skip to content

Commit 7bc6499

Browse files
committed
multi-threaded + SIMD
1 parent ecce8d1 commit 7bc6499

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/lean_prover/src/prove_execution.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ pub fn prove_execution(
484484
)
485485
});
486486

487-
let grand_product_exec_eq_weights = eval_eq(&grand_product_exec_sumcheck_point);
487+
let grand_product_exec_eq_weights = eval_eq_packed(&grand_product_exec_sumcheck_point);
488488
for col in [
489489
COL_INDEX_OPERAND_C,
490490
COL_INDEX_ADD,
@@ -498,9 +498,9 @@ pub fn prove_execution(
498498
] {
499499
grand_product_exec_sumcheck_inner_evals.insert(
500500
col,
501-
dot_product::<EF, _, _>(
502-
grand_product_exec_eq_weights.iter().copied(),
503-
full_trace[col].iter().copied().map(EF::from),
501+
dot_product_ef_packed_par(
502+
&grand_product_exec_eq_weights,
503+
FPacking::<F>::pack_slice(&full_trace[col]),
504504
),
505505
);
506506
}

0 commit comments

Comments
 (0)