Enum BuiltinKernel
pub enum BuiltinKernel {
AffineF32,
FusedFfn,
P64Project,
TopK,
RayProbe,
TernaryGemv,
Gemm,
Gemv,
Fft,
IqPowerF32,
IqPowerI16,
}Variants§
Implementations§
§impl BuiltinKernel
impl BuiltinKernel
pub fn spec(self) -> KernelSpec
§impl BuiltinKernel
impl BuiltinKernel
pub const ALL: [BuiltinKernel; 11]
pub const fn has_gpu_oracle(self) -> bool
pub const fn has_gpu_oracle(self) -> bool
Whether the differential oracle (evaluate_builtin) has a CPU reference +
GPU dispatch wired for this kernel, so it can be certified and tuned on
hardware. IQ kernels are representable and emitted by Etalon, but have no
local differential evaluator yet.
Trait Implementations§
§impl Clone for BuiltinKernel
impl Clone for BuiltinKernel
§fn clone(&self) -> BuiltinKernel
fn clone(&self) -> BuiltinKernel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BuiltinKernel
§impl Debug for BuiltinKernel
impl Debug for BuiltinKernel
§impl<'de> Deserialize<'de> for BuiltinKernel
impl<'de> Deserialize<'de> for BuiltinKernel
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuiltinKernel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuiltinKernel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BuiltinKernel
§impl From<BuiltinKernel> for BuiltinKernel
impl From<BuiltinKernel> for BuiltinKernel
§fn from(kernel: BuiltinKernel) -> BuiltinKernel
fn from(kernel: BuiltinKernel) -> BuiltinKernel
Converts to this type from the input type.
§impl From<BuiltinKernel> for BuiltinKernel
impl From<BuiltinKernel> for BuiltinKernel
§fn from(kernel: BuiltinKernel) -> BuiltinKernel
fn from(kernel: BuiltinKernel) -> BuiltinKernel
Converts to this type from the input type.
§impl FromStr for BuiltinKernel
impl FromStr for BuiltinKernel
§type Err = ForgeError
type Err = ForgeError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<BuiltinKernel, <BuiltinKernel as FromStr>::Err>
fn from_str( value: &str, ) -> Result<BuiltinKernel, <BuiltinKernel as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for BuiltinKernel
impl Hash for BuiltinKernel
§impl PartialEq for BuiltinKernel
impl PartialEq for BuiltinKernel
§impl Serialize for BuiltinKernel
impl Serialize for BuiltinKernel
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BuiltinKernel
Auto Trait Implementations§
impl Freeze for BuiltinKernel
impl RefUnwindSafe for BuiltinKernel
impl Send for BuiltinKernel
impl Sync for BuiltinKernel
impl Unpin for BuiltinKernel
impl UnsafeUnpin for BuiltinKernel
impl UnwindSafe for BuiltinKernel
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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> ⓘ
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