Opencv 2.2 and multi CPU – opencv_ haartraining. Exe multithreading?
I built opencv 2.2.0 on vs 2010 TBB 3 support is enabled I make sure that all projects have the correct TBB lib directory and put TBB Lib is listed as a dependency
By hiding TBB DLL verify it – make sure haarttraining Exe complains that it needs it
OK – my question I am running a large training set on a 16 core machine, and HAART training only hangs up one CPU and the other 15 are idle
What on earth did I do wrong? I don't see any flag that triggers MP on exe
Another question – I also include IPP This is a static link, right (which means I don't need to install IPP on the box where I run it?)? I don't think it will work
thank you!
Edit: two other messages: 1) the task manager says OpenCV_ haartraining. Exe has only 1 thread 2) This is a 32-bit version running on a 64 bit version of Windows XP
Solution
If TBB is used to build, TBB is required DLL – this does not mean that a specific feature is using TBB
To see which features have TBB enabled, you need to review the code or follow opencv minutes – for example http://pr.willowgarage.com/wiki/OpenCVMeetingNotes/Minutes%202010 -03-30