1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

core: parallel backends API

- allow to replace parallel_for() backend
This commit is contained in:
Alexander Alekhin
2021-01-21 11:03:17 +00:00
parent 84676fefe3
commit b73bf03bfc
13 changed files with 528 additions and 31 deletions
+9
View File
@@ -30,6 +30,7 @@ if(NOT HAVE_opencv_cudaarithm OR NOT HAVE_opencv_cudafilters)
ocv_list_filterout(cpp_samples "/gpu/")
endif()
ocv_list_filterout(cpp_samples "real_time_pose_estimation/")
ocv_list_filterout(cpp_samples "parallel_backend/")
foreach(sample_filename ${cpp_samples})
set(package "cpp")
if(sample_filename MATCHES "tutorial_code")
@@ -57,3 +58,11 @@ foreach(sample_filename ${cpp_samples})
endforeach()
include("tutorial_code/calib3d/real_time_pose_estimation/CMakeLists.txt" OPTIONAL)
# Standalone samples only
if(OpenCV_FOUND AND NOT CMAKE_VERSION VERSION_LESS "3.1")
add_subdirectory("example_cmake")
endif()
if(OpenCV_FOUND AND NOT CMAKE_VERSION VERSION_LESS "3.9")
add_subdirectory("tutorial_code/core/parallel_backend")
endif()