- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
System detail:
Computer we are using is an Intel i7-2600. It is 4 core CPU with hyper thread which give 8 virtual cores. OS is Windows 7.
Issue:
We have an image processing process, We like to run it in upper 6 cores and leave lower 2 cores for device control. I use setAffinity to set image processing process to upper 6 cores. To test the affinity, I use Windows task manager to monitor which core is used. It works as I expected that 6 cores busy when I use C++ code in my algorithm. However when I opptimize my code to use IPP library, it start to use all 8 cores; and ignore my Cpu affinity setting. Is there any way I can set CPU affinity to IPP library? Any help is appreciated.
I have test ippSetAffinity. It does not make difference.
Yang
Abbott Point of Care
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Yang,
The Intel IPP functions are threaded with OpenMP. The affinity setting in the IPP will also impact the IPP. Please check if the following environment setting could work for you:
KMP_AFFINITY=explicit,proclist=[1-6:1],granularity=fine
You can check the following article regarding the these setting
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/2011Update/fortran/lin/optaps/common/optaps_openmp_thread_affinity.htm
Thanks,
Chao
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告