/
Alx89
/
OpenCV
Обзор
Документация
Войти
/
Alx89
/
OpenCV
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.x
modules/core/src/parallel/parallel.hpp
29 строк
780 B
Alexander Alekhin
core(parallel): plugins support
15 фев 2021, 20:07
15 фев 2021, 20:07
cc73c36
Код
Авторство
О чём код?
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #define OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #include "opencv2/core/parallel/parallel_backend.hpp" namespace cv { namespace parallel { extern int numThreads; std::shared_ptr<ParallelForAPI>& getCurrentParallelForAPI(); #ifndef BUILD_PLUGIN #ifdef HAVE_TBB std::shared_ptr<cv::parallel::ParallelForAPI> createParallelBackendTBB(); #endif #ifdef HAVE_OPENMP std::shared_ptr<cv::parallel::ParallelForAPI> createParallelBackendOpenMP(); #endif #endif // BUILD_PLUGIN }} // namespace #endif // OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP