pub struct FastKernelBuilder<T, P>(/* private fields */);
Trait Implementations§
Source§impl<T, P> Default for FastKernelBuilder<T, P>
impl<T, P> Default for FastKernelBuilder<T, P>
Source§impl<T: TowerFamily, P: PackedTop<T>> KernelExecutor<<T as TowerFamily>::B128> for FastKernelBuilder<T, P>
impl<T: TowerFamily, P: PackedTop<T>> KernelExecutor<<T as TowerFamily>::B128> for FastKernelBuilder<T, P>
Source§type Mem = PackedMemory<P>
type Mem = PackedMemory<P>
The type for kernel-local memory buffers.
Source§type Value = <T as TowerFamily>::B128
type Value = <T as TowerFamily>::B128
The kernel(core)-level operation (scalar) type. This is a promise for a returned value.
Source§type ExprEval = ArithCircuitPoly<<T as TowerFamily>::B128>
type ExprEval = ArithCircuitPoly<<T as TowerFamily>::B128>
The evaluator for arithmetic expressions (polynomials).
Source§fn decl_value(&mut self, init: T::B128) -> Result<Self::Value, Error>
fn decl_value(&mut self, init: T::B128) -> Result<Self::Value, Error>
Declares a kernel-level value.
Source§fn sum_composition_evals(
&mut self,
inputs: &SlicesBatch<<Self::Mem as ComputeMemory<T::B128>>::FSlice<'_>>,
composition: &Self::ExprEval,
batch_coeff: T::B128,
accumulator: &mut Self::Value,
) -> Result<(), Error>
fn sum_composition_evals( &mut self, inputs: &SlicesBatch<<Self::Mem as ComputeMemory<T::B128>>::FSlice<'_>>, composition: &Self::ExprEval, batch_coeff: T::B128, 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
Source§fn add(
&mut self,
log_len: usize,
src1: <Self::Mem as ComputeMemory<T::B128>>::FSlice<'_>,
src2: <Self::Mem as ComputeMemory<T::B128>>::FSlice<'_>,
dst: &mut <Self::Mem as ComputeMemory<T::B128>>::FSliceMut<'_>,
) -> Result<(), Error>
fn add( &mut self, log_len: usize, src1: <Self::Mem as ComputeMemory<T::B128>>::FSlice<'_>, src2: <Self::Mem as ComputeMemory<T::B128>>::FSlice<'_>, dst: &mut <Self::Mem as ComputeMemory<T::B128>>::FSliceMut<'_>, ) -> Result<(), Error>
A kernel-local operation that performs point-wise addition of two input buffers into an
output buffer. Read more
Auto Trait Implementations§
impl<T, P> Freeze for FastKernelBuilder<T, P>
impl<T, P> RefUnwindSafe for FastKernelBuilder<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for FastKernelBuilder<T, P>
impl<T, P> Sync for FastKernelBuilder<T, P>
impl<T, P> Unpin for FastKernelBuilder<T, P>
impl<T, P> UnwindSafe for FastKernelBuilder<T, P>where
T: UnwindSafe,
P: UnwindSafe,
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