Skip to main content

vmf_phase_pair

Function vmf_phase_pair 

Source
pub fn vmf_phase_pair(
    x1: &[f32],
    x2: &[f32],
    w: &VmfPhaseWeights,
    cfg: &VmfPhaseCfg,
    state: &mut Vec<f32>,
    scratch: &mut Vec<f32>,
    pool: Option<&Pool>,
) -> (Vec<f32>, Vec<f32>)
Expand description

Fused two-position forward (speculative verify). Lane 1 commits into state (its token is always committed); lane 2’s tentative state goes into scratch — the caller swaps it in on draft acceptance and simply drops it on rejection.