Skip to main content

eval_gpu_simt

Function eval_gpu_simt 

Source
pub fn eval_gpu_simt(
    eng: &SimtEngine,
    lane_inputs: &[Vec<i64>],
    mask: &[bool],
) -> (Vec<i64>, Option<i64>)
Expand description

Evaluate the SIMT engine (the pure-Rust reference the silicon is checked against — N calls to the already-proven eval_fabric, one per lane). lane_inputs[j] are lane j’s n_in kernel inputs (uniform inputs are set equal across lanes by the caller); mask[j] gates lane j when predicated (masked → 0). Returns the per-lane outputs and the optional warp-reduced scalar.