Skip to content

Commit 178a148

Browse files
committed
Decrease thread count for local dev
1 parent 4e6e231 commit 178a148

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spartan_parallel/src/r1csproof.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ impl<'a, S: SpartanExtensionField + Send + Sync> R1CSProof<S> {
293293
);
294294

295295
let max_num_vars = A.get_num_vars();
296-
let num_threads = 32;
296+
let num_threads = 8;
297297

298298
let mut virtual_polys =
299299
VirtualPolynomials::new(num_threads, max_num_vars);
@@ -525,7 +525,7 @@ impl<'a, S: SpartanExtensionField + Send + Sync> R1CSProof<S> {
525525
.into_mle()
526526
);
527527

528-
let num_threads_phase2 = 32;
528+
let num_threads_phase2 = 8;
529529

530530
let mut virtual_polys =
531531
VirtualPolynomials::new(num_threads_phase2, max_num_vars_phase2);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const u32 REPETITION = 10000
1+
const u32 REPETITION = 100

0 commit comments

Comments
 (0)