pub fn quant_gemm(
gpu: &dyn GpuBackend,
gemm_nvfp4: KernelHandle,
gemm_fp8: KernelHandle,
gemm_dense: KernelHandle,
input: DevicePtr,
weight: &QuantWeight,
output: DevicePtr,
m: u32,
n: u32,
k: u32,
stream: u64,
) -> Result<()>Expand description
2026-09-25: GEMM (m rows) through the kernel for the weight’s format:
NVFP4, FP8 or dense BF16. PackedQ2 weights return an error.