|  | OpenCV 4.13.0-dev
    Open Source Computer Vision | 
This structure allows to customize the way how Fluid executes parallel regions. More...
#include <opencv2/gapi/fluid/gfluidkernel.hpp>
| Public Attributes | |
| std::function< void(std::size_t size, std::function< void(std::size_t index)>)> | parallel_for | 
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:
| size | Size of the parallel range to process | 
| f | A 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.
| std::function<void(std::size_t size, std::function<void(std::size_t index)>)> cv::GFluidParallelFor::parallel_for |