Function halo2_base::gates::builder::parallelize_in
source · [−]pub fn parallelize_in<F, T, R, FR>(
phase: usize,
builder: &mut GateThreadBuilder<F>,
input: Vec<T>,
f: FR
) -> Vec<R>where
F: ScalarField,
T: Send,
R: Send,
FR: Fn(&mut Context<F>, T) -> R + Send + Sync,
Expand description
Utility function to parallelize an operation involving Context
s in phase phase
.