Skip to main content

dispatch_with_grid_sync_split_into

Function dispatch_with_grid_sync_split_into 

Source
pub fn dispatch_with_grid_sync_split_into(
    backend: &dyn VyreBackend,
    program: &Program,
    inputs: &[&[u8]],
    config: &DispatchConfig,
    outputs: &mut OutputBuffers,
) -> Result<(), BackendError>
Expand description

Split a grid-sync program at its barriers and dispatch every segment through backend, looping the segment sequence to a fixpoint.

This is the &dyn VyreBackend entry; the split, refresh, and adaptive convergence logic lives in [dispatch_grid_sync_split_generic], shared with the closure entry dispatch_with_grid_sync_split_via_into.

ยงErrors

Propagates any BackendError from splitting or a segment dispatch, prefixed with the segment index.