Is OpenCV 2.2 and multi-processor processors - is it opencv_haartraining.exe multi-threading?

I built OpenCV 2.2 on VS 2010. Support for TBB 3. I ensured that all projects have the correct tbb library directories, and tbb.lib is listed as a dependency.

It is checked, having hidden tbb.dll - it is sure enough that haartraining.exe complained that he needs it.

Good - my question. I run a large training kit on a 16-core computer, and haartraining only binds one of the processors, the remaining 15 are idle.

What am I doing wrong? I do not see any flags on EXE to call MP.

One more question - I turned on IPP. This is statically connected, right (does this mean that I do not need to install IPP on the box in which I run it?)? I suppose otherwise it will not work.

Thank!

edit: two other bits of information: 1) The task manager says that opencv_haartraining.exe has only 1 thread. 2) it is a 32-bit version that runs on a 64-bit version of Windows XP

+3
source share
1 answer

If built with TBB, then TBB.dll is required - this does not mean that a particular function uses TBB.

To find out what features TBB has, you need to look at the code or follow the opencV protocols - for example, http://pr.willowgarage.com/wiki/OpenCVMeetingNotes/Minutes%202010-03-30

+1
source

Source: https://habr.com/ru/post/1795417/


All Articles