pub fn paged_decode_attn_splitk_nvfp4(
gpu: &dyn GpuBackend,
kernel: KernelHandle,
q: DevicePtr,
k_cache: DevicePtr,
v_cache: DevicePtr,
workspace: DevicePtr,
block_tables: DevicePtr,
seq_lens: DevicePtr,
max_blocks_per_seq: u32,
num_q_heads: u32,
num_kv_heads: u32,
head_dim: u32,
block_size: u32,
inv_sqrt_d: f32,
num_splits: u32,
q_stride: u32,
block_stride_bytes: u64,
data_section_bytes: u64,
num_seqs: u32,
stream: u64,
) -> Result<()>Expand description
2026-09-25: Split-K paged decode attention over an NVFP4 KV cache: each
(q_head, seq) sequence is cut into num_splits parts, and each block
writes its partial output and softmax state to workspace.