Skip to main content

dispatch_segment

Function dispatch_segment 

Source
pub fn dispatch_segment(
    segment_size: usize,
    cpu_workers: usize,
    gpu_workers: usize,
    gpu_threshold: usize,
    cpu_load: &[usize],
    gpu_load: &[usize],
) -> Option<WorkerTarget>
Expand description

Decide where to dispatch a segment based on size and load.