Skip to main content

try_build_cpu_reference

Function try_build_cpu_reference 

Source
pub fn try_build_cpu_reference(
    num_procs: u32,
    blocks_per_proc: u32,
    facts_per_proc: u32,
    intra_edges: &[(u32, u32, u32)],
    inter_edges: &[(u32, u32, u32, u32)],
    flow_gen: &[(u32, u32, u32)],
    flow_kill: &[(u32, u32, u32)],
) -> Result<(Vec<u32>, Vec<u32>), String>
Expand description

Fallible CPU-reference CSR builder for the exploded supergraph.

This is the allocation-safe oracle entry point for fuzz, hostile-dimension, and parity harnesses. build_cpu_reference preserves the legacy panicking API by delegating here.