Skip to main content

try_run_fast_path_gpu

Function try_run_fast_path_gpu 

Source
pub fn try_run_fast_path_gpu(
    current: &[[f32; 3]],
    history: &[[f32; 3]],
    residual_history_in: &[f32],
    drift_history_in: &[f32],
    width: usize,
    height: usize,
    lambda: f32,
    k: f32,
    local_aggregation: bool,
) -> Result<Option<FastPathGpuOutput>>
Expand description

Execute one frame of the GPU fast-path proxy.

Returns Ok(None) if no wgpu adapter is available.