Skip to content

core: parallel API backends#19365

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:parallel_api
Jan 27, 2021
Merged

core: parallel API backends#19365
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:parallel_api

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Jan 21, 2021

  • allow to replace parallel_for() backend in runtime (from user applications)

TODO:

  • OpenMP custom backend
  • TBB custom backend
  • (postpone) oneTBB custom backend
  • setNumThreads() propagation, OPENCV_FOR_THREADS_NUM works
  • documentation (with samples)
  • validate for performance regressions
buildworker:Custom=linux-1,linux-2
Xbuild_image:Custom=openmp:16.04
build_image:Custom=ubuntu:20.04

Xbuildworker:Linux x64=linux-3
Xbuild_image:Linux x64=ubuntu:18.04

Xbuildworker:Linux x64 Debug=linux-5
Xbuild_image:Linux x64 Debug=ubuntu:20.04

)
endif()

# not avaiable (2021-01): find_package(TBB)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it not available? We use find_package in DetectTBB script and it works with all recent TBB GitHub releases (on Linux at least). Or do you mean packages from Linux distributions?

- allow to replace parallel_for() backend
@opencv-pushbot opencv-pushbot merged commit 37c12db into opencv:master Jan 27, 2021
@alalek alalek mentioned this pull request Feb 6, 2021
15 tasks
@alalek alalek mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants