OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::use_threaded_executor Struct Reference

Ask G-API to use threaded executor when cv::GComputation is compiled via cv::GComputation::compile method. More...

#include <opencv2/gapi/gcommon.hpp>

Collaboration diagram for cv::use_threaded_executor:

Public Member Functions

 use_threaded_executor ()
 
 use_threaded_executor (const uint32_t nthreads)
 

Public Attributes

uint32_t num_threads
 

Detailed Description

Ask G-API to use threaded executor when cv::GComputation is compiled via cv::GComputation::compile method.

Specifies a number of threads that should be used by executor.

Constructor & Destructor Documentation

◆ use_threaded_executor() [1/2]

cv::use_threaded_executor::use_threaded_executor ( )

◆ use_threaded_executor() [2/2]

cv::use_threaded_executor::use_threaded_executor ( const uint32_t nthreads)
explicit

Member Data Documentation

◆ num_threads

uint32_t cv::use_threaded_executor::num_threads

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