OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::GFluidParallelFor Struct Reference

This structure allows to customize the way how Fluid executes parallel regions. More...

#include <opencv2/gapi/fluid/gfluidkernel.hpp>

Collaboration diagram for cv::GFluidParallelFor:

Public Attributes

std::function< void(std::size_t size, std::function< void(std::size_t index)>)> parallel_for
 

Detailed Description

This structure allows to customize the way how Fluid executes parallel regions.

For example, user can utilize his own threading runtime via this parameter. The parallel_for member functor is called by the Fluid runtime with the following arguments:

Parameters
sizeSize of the parallel range to process
fA function which should be called for every integer index in this range by the specified parallel_for implementation.

This feature may be deprecated in the future releases.

Member Data Documentation

◆ parallel_for

std::function<void(std::size_t size, std::function<void(std::size_t index)>)> cv::GFluidParallelFor::parallel_for

The documentation for this struct was generated from the following file: