Skip to main content

Kernel

Trait Kernel 

Source
pub trait Kernel {
    type Out;

    // Required method
    fn run<S: Simd>(self, s: S) -> Self::Out;
}
Expand description

a computation written once for every instruction set

Required Associated Types§

Required Methods§

Source

fn run<S: Simd>(self, s: S) -> Self::Out

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§