gdn_verify_fused_conv_kn_f32

Function gdn_verify_fused_conv_kn_f32 

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

FP32-output twin of super::gdn_verify_fused_conv_kn: one launch for all K verify positions of conv1d+SiLU+L2norm, FP32 conv rows (what the sequential-decode-exact GDN chain reads), every per-token conv-state rollback snapshot written inline. output_stride is in FP32 elements.

Kernel: gdn_verify_fused_conv_kn_f32(conv_state, new_input, weight, output, conv_state_inter, num_tokens, dim, d_conv, qk_channels, head_dim, input_stride, output_stride, inter_stride, l2_eps) Grid: (ceil(dim/256), 1, 1) Block: (256, 1, 1)