pub fn dense_gemv_ba_gates(
gpu: &dyn GpuBackend,
kernel: KernelHandle,
input: DevicePtr,
ba_weight: &DenseWeight,
a_log: DevicePtr,
dt_bias: DevicePtr,
gate_out: DevicePtr,
beta_out: DevicePtr,
n: u32,
k: u32,
vheads_per_group: u32,
stream: u64,
) -> Result<()>Expand description
2026-09-25: BA projection GEMV and the GDN gate/beta transforms in one kernel, for one token, with no intermediate BA buffer.
Kernel: dense_gemv_ba_gates(A, B, A_log, dt_bias, gate, beta, N, K, vpg)
Grid: (ceil(N/4), 1, 1) Block: (256, 1, 1)