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.
6597 ディスカッション

Is it able to allocate number of used CPU Core

LEE__CHIHWEI
ビギナー
2,003件の閲覧回数

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 件の賞賛
2 返答(返信)
Anna_B_Intel
従業員
2,001件の閲覧回数

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

LEE__CHIHWEI
ビギナー
2,001件の閲覧回数

Thx!

返信