gdn_conv_chain_f32

Function gdn_conv_chain_f32 

Source
pub fn gdn_conv_chain_f32(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    conv_state: DevicePtr,
    new_input: DevicePtr,
    weight: &DenseWeight,
    output: DevicePtr,
    conv_inter: [DevicePtr; 3],
    num_tokens: u32,
    dim: u32,
    d_conv: u32,
    qk_channels: u32,
    head_dim: u32,
    l2_eps: f32,
    input_stride: u32,
    output_stride: u32,
    stream: u64,
) -> Result<()>
Expand description

2026-10-01: The single-sequence exact verify’s FP32 conv (gdn_conv_chain_f32): num_tokens positions of causal_conv1d_update_l2norm_f32_strided for one sequence in one launch, the window after position t (t < num_tokens - 1) at conv_inter[t], the final window at conv_state. The unused conv_inter entries must be valid pointers; they are not written.