Skip to main content

histogram_cdf_gpu

Function histogram_cdf_gpu 

Source
pub fn histogram_cdf_gpu(
    runtime: &WgpuRuntime,
    source: &GpuImageHistogram,
) -> SpatialResult<GpuImageCdf>
Expand description

Computes exact inclusive cumulative counts without downloading source bins.

One 256-lane pass uses 1 KiB workgroup-local memory and writes a separate 1 KiB resident result. Source bins stay unchanged. The source may be recycled after this call returns; its reads have already been submitted in queue order.