Skip to main content

gpu_batch_process

Function gpu_batch_process 

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

GPU-accelerated batch processing

Process multiple images in parallel on GPU.

§Arguments

  • ctx - GPU vision context
  • images - Vector of input images
  • operation - Operation to apply

§Returns

  • Vector of processed images