pub trait ComputeKernel {
// Required methods
fn name(&self) -> &str;
fn execute(
&self,
inputs: &[&[f64]],
outputs: &mut [Vec<f64>],
work_size: usize,
);
}Expand description
Trait for a compute kernel that can be dispatched on a backend.