Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to enable the use of all the CPU cores

Hi. I compiled OpenCV with Intel TBB support. I'm trying to use all my CPU cores (8) but when I check the task manager only 4 cores are working. In my code I use the function setNumThreads(8), and I see an improvement in speed without using it, but only 4 cores are working. Could someone tell me how could I enable the use of the 8 cores. Thanks.