Skip to main content

clahe_gpu_profiled

Function clahe_gpu_profiled 

Source
pub fn clahe_gpu_profiled(
    runtime: &WgpuRuntime,
    source: &GpuImage,
    clip_limit: f64,
    tiles_x: u32,
    tiles_y: u32,
    profiler: &mut GpuStageProfiler,
) -> SpatialResult<GpuImage>
Expand description

Applies resident CLAHE while recording three or four pass timestamps. Split histograms require four unused stages on the same runtime; direct histograms require three. Capacity is checked before allocating work.