Skip to main content

gpu_batch_convolve_2d

Function gpu_batch_convolve_2d 

Source
pub fn gpu_batch_convolve_2d(
    ctx: &GpuVisionContext,
    images: &[ArrayView2<'_, f32>],
    kernel: &ArrayView2<'_, f32>,
) -> Result<Vec<Array2<f32>>>
Expand description

Advanced GPU batch processing for multiple images

Processes multiple images in a single GPU kernel call for maximum throughput.

ยงPerformance

3-5x faster than processing images individually for batches of 4+ images.