OpenCV  4.3.0
Open Source Computer Vision
Public Attributes | List of all members
cv::GFluidParallelFor Struct Reference

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
 

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: