MemoryParameterFunction

Type Alias MemoryParameterFunction 

Source
pub type MemoryParameterFunction<T> = Box<dyn Fn(Vec<&Matrix<T>>) -> Result<(usize, usize, Vec<usize>)>>;
Expand description

Shortcut type definition for closure defining output parameters for custom kernel. Input is a list of matrices, the output is a Result containing a tuple of the output rows, output cols, and work sizes.

Aliased Typeยง

pub struct MemoryParameterFunction<T>(/* private fields */);