pub trait ConcreteInputsFactory: LaunchArg {
// Required method
fn create<'a, R: Runtime>(
lhs: &'a TensorHandleRef<'a, R>,
lhs_scale: &'a Option<TensorHandleRef<'a, R>>,
rhs: &'a TensorHandleRef<'a, R>,
rhs_scale: &'a Option<TensorHandleRef<'a, R>>,
selection: &MatmulSelection,
problem: &MatmulProblem,
line_sizes: &MatmulLineSizes,
) -> Self::RuntimeArg<'a, R>;
}
Expand description
Create the input runtime arguments for a matmul kernel that works on concrete inputs and output (not fused).
Required Methods§
fn create<'a, R: Runtime>( lhs: &'a TensorHandleRef<'a, R>, lhs_scale: &'a Option<TensorHandleRef<'a, R>>, rhs: &'a TensorHandleRef<'a, R>, rhs_scale: &'a Option<TensorHandleRef<'a, R>>, selection: &MatmulSelection, problem: &MatmulProblem, line_sizes: &MatmulLineSizes, ) -> Self::RuntimeArg<'a, R>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.