pub struct CpuKernelBuilder;
Trait Implementations§
Source§impl Debug for CpuKernelBuilder
impl Debug for CpuKernelBuilder
Source§impl<F: TowerField> KernelExecutor<F> for CpuKernelBuilder
impl<F: TowerField> KernelExecutor<F> for CpuKernelBuilder
Source§type Value = F
type Value = F
The kernel(core)-level operation (scalar) type. This is a promise for a returned value.
Source§type ExprEval = ArithCircuit<F>
type ExprEval = ArithCircuit<F>
The evaluator for arithmetic expressions (polynomials).
Source§fn decl_value(&mut self, init: F) -> Result<F, Error>
fn decl_value(&mut self, init: F) -> Result<F, Error>
Declares a kernel-level value.
Source§fn sum_composition_evals(
&mut self,
inputs: &SlicesBatch<<Self::Mem as ComputeMemory<F>>::FSlice<'_>>,
composition: &Self::ExprEval,
batch_coeff: F,
accumulator: &mut Self::Value,
) -> Result<(), Error>
fn sum_composition_evals( &mut self, inputs: &SlicesBatch<<Self::Mem as ComputeMemory<F>>::FSlice<'_>>, composition: &Self::ExprEval, batch_coeff: F, accumulator: &mut Self::Value, ) -> Result<(), Error>
A kernel-local operation that evaluates a composition polynomial over several buffers,
row-wise, and returns the sum of the evaluations, scaled by a batching coefficient. Read more
Auto Trait Implementations§
impl Freeze for CpuKernelBuilder
impl RefUnwindSafe for CpuKernelBuilder
impl Send for CpuKernelBuilder
impl Sync for CpuKernelBuilder
impl Unpin for CpuKernelBuilder
impl UnwindSafe for CpuKernelBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more