Skip to main content

schedule_streams

Function schedule_streams 

Source
pub fn schedule_streams(
    stratum: &Stratum,
    hw: &HardwareCapabilities,
) -> StreamSchedule
Expand description

Build the phase-aligned stream schedule for a stratum.

Stream count follows the GPU occupancy rule: min(SM_count / 4, max_independent_rules_in_stratum), with one stream retained for single-rule strata so the scheduler produces the same serial execution shape as the non-mux path.