pub trait SparseDispatch: Send + 'static {
// Required methods
fn op_name(&self) -> SparseOp;
fn dtype(&self) -> DType;
fn dispatch(self: Box<Self>, ctx: &SparseDispatchCtx<'_>);
}Expand description
Box-erased cuSPARSE op (Phase 4).
pub trait SparseDispatch: Send + 'static {
// Required methods
fn op_name(&self) -> SparseOp;
fn dtype(&self) -> DType;
fn dispatch(self: Box<Self>, ctx: &SparseDispatchCtx<'_>);
}Box-erased cuSPARSE op (Phase 4).