Skip to main content

gpu_status_event

Function gpu_status_event 

Source
pub fn gpu_status_event(
    devices: Vec<GpuSnapshot>,
    matmul_done: usize,
    matmul_total: usize,
    layers_done: usize,
    layers_total: usize,
) -> ProofEvent
Expand description

Build a GpuStatus event from a slice of device snapshots and progress counters.