![]() |
OpenCV 4.12.0
开源计算机视觉
|
请求 G-API 在通过 cv::GComputation 的 cv::GComputation::compile 方法编译时使用线程执行器。 更多...
#include <opencv2/gapi/gcommon.hpp>
公共成员函数 | |
| use_threaded_executor () | |
| use_threaded_executor (const uint32_t nthreads) | |
公共属性 | |
| uint32_t | num_threads |
请求 G-API 在通过 cv::GComputation 的 cv::GComputation::compile 方法编译时使用线程执行器。
指定执行器应使用的线程数。
| cv::use_threaded_executor::use_threaded_executor | ( | ) |
|
显式 |
| uint32_t cv::use_threaded_executor::num_threads |