Skip to content

Commit

Permalink
Bench auxiliaries (#86)
Browse files Browse the repository at this point in the history
* Number of auxiliaries

* Fixed typo
  • Loading branch information
gabriel-barrett authored and samuelburnham committed Aug 7, 2024
1 parent 323a3ad commit 72276d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bellpepper-core/src/constraint_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub trait ConstraintSystem<Scalar: PrimeField>: Sized + Send {
false
}

/// Extend concatenates thew `other` constraint systems to the receiver, modifying the receiver, whose
/// Extend concatenates the `other` constraint systems to the receiver, modifying the receiver, whose
/// inputs, allocated variables, and constraints will precede those of the `other` constraint system.
/// The primary use case for this is parallel synthesis of circuits which can be decomposed into
/// entirely independent sub-circuits. Each can be synthesized in its own thread, then the
Expand Down
4 changes: 4 additions & 0 deletions crates/bellpepper/src/util_cs/bench_cs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ impl<Scalar: PrimeField> BenchCS<Scalar> {
self.a
}

pub fn num_auxiliaries(&self) -> usize {
self.aux
}

pub fn num_inputs(&self) -> usize {
self.inputs
}
Expand Down

0 comments on commit 72276d7

Please sign in to comment.