Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

Is it able to allocate number of used CPU Core

LEE__CHIHWEI
Beginner
1,150 Views

As the tile,

Is it able to allocate number of used CPU core in deep learning tool 

for example, can we set just used 2 cores of CPU in Image Classification Sample?

or it is default to use maximum available CPU cores in running time? 

 

thx!!!

0 Kudos
2 Replies
Anna_B_Intel
Employee
1,148 Views

Hello, 

Inference Engine uses OpenMP for parallelism. It loads all CPU cores by default. But you can manage threads number using OMP_NUM_THREADS environmental variable or set threads number from the application.

Best wishes, 

Anna

0 Kudos
LEE__CHIHWEI
Beginner
1,148 Views

Thx!

0 Kudos
Reply