prefill_attention_paged_nvfp4_batched_64

Function prefill_attention_paged_nvfp4_batched_64 

Source
pub fn prefill_attention_paged_nvfp4_batched_64(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    q: DevicePtr,
    k_cache: DevicePtr,
    v_cache: DevicePtr,
    output: DevicePtr,
    block_table_ptrs: DevicePtr,
    batch_size: u32,
    cu_seqlens: DevicePtr,
    kv_lens: DevicePtr,
    q_len: u32,
    kv_len: u32,
    q_offset: u32,
    num_q_heads: u32,
    num_kv_heads: u32,
    head_dim: u32,
    cache_block_size: u32,
    sliding_window: u32,
    inv_sqrt_d: f32,
    block_stride_bytes: u64,
    data_section_bytes: u64,
    stream: u64,
) -> Result<()>
Expand description

Batched NVFP4-KV paged prefill attention (BR=64, chunk_len >= 256).

Same argument contract as prefill_attention_paged_nvfp4_batched; the _64 kernel sibling is generated from the shared prefill_paged_compute.cuh (8 warps, 64 Q rows per CTA).