nvfp4_proj_small_m

Function nvfp4_proj_small_m 

Source
pub fn nvfp4_proj_small_m(
    gpu: &dyn GpuBackend,
    batch_kernel: KernelHandle,
    input: DevicePtr,
    weight: &QuantizedWeight,
    output: DevicePtr,
    m: u32,
    n: u32,
    k: u32,
    stream: u64,
) -> Result<()>
Expand description

2026-09-28: The projection launcher: the W4A4 FP4 MMA when the tier admits the weight (weight_rows), the kernels are prepared and w4a4_route admits the shape, else the W4A16 w4a16_gemv_batchm (which tries the tensor-core GEMV first). The W4A16 fallback returns an error above W4A4_MAX_M rows.