pub fn w8a16_gemv_batch2(
gpu: &dyn GpuBackend,
kernel: KernelHandle,
input: DevicePtr,
weight: DevicePtr,
block_scale: DevicePtr,
output: DevicePtr,
n: u32,
k: u32,
stream: u64,
) -> Result<()>Expand description
Block-scaled FP8 dual-GEMV (batch=2). input is [2, K] BF16, output is
[2, N] BF16; weight/block_scale are the raw w8a16_gemv pointers.
Grid: (ceil(N/4), 1, 1) Block: (256, 1, 1)