Skip to main content

build_max_sim

Function build_max_sim 

Source
pub fn build_max_sim<T: MaxSimElement, E: Erase<T>>(
    isa: MaxSimIsa,
    query: MatRef<'_, Standard<T>>,
    erase: E,
) -> Result<E::Output, NotSupported>
Expand description

Build a multi-vector MaxSim kernel for any MaxSimElement type.

Thin wrapper over MaxSimElement::build so callers don’t have to name the trait at the call site.

§Errors

Returns NotSupported when the requested ISA cannot run on this build.