pub fn has_vectorized_replay<T: FusedScalar>() -> boolExpand description
Returns whether T has the chunked vectorized replay for plans that reach
the interpreter.
Those are plans with more than one instruction or output that match no
static specialization; single-instruction plans use the ordinary unfused
kernels for every T. When this is false, such plans run element by
element and are not expected to be faster than unfused passes. When it is
true, a block is replayed vectorized only if every output is unit-stride
and every input is unit-stride or broadcast along the innermost axis.
This is a property of the scalar type, not a promise about one call: contiguity is decided per block at run time.
use strided_fused::has_vectorized_replay;
assert!(has_vectorized_replay::<f64>());
assert!(!has_vectorized_replay::<num_complex::Complex64>());