pub fn build_max_sim<T: MaxSimElement, E: Erase<T>>(
isa: MaxSimIsa,
query: MatRef<'_, Standard<T>>,
erase: E,
) -> Result<E::Output, BuildMaxSimError>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 BuildMaxSimError::NotSupported when the requested ISA cannot run
on this build, and BuildMaxSimError::DimTooLarge when an i8 query has
more than 131_071 dimensions.