Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

multithreading in ipp

weberh
Beginner
364 Views
While it is good that IPP's internal multithreading can be disabled via the static libraries, it is somewhat awkward and defeats the purpose of dlls. The 4.1.2 release notes mention that libguide can be used to disable multithreading, but a message-board message regarding this feature seems to contradict that, and, in any case, I don't think this feature is available on the windows platform.
Given that un-threaded versions of the functions are available in the static libs, why not offer developers a run time switch to disable threading in the dll version?
Thanks,
Hans
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
364 Views
Hi,
in IPP v 4.1 youare able to limit number of OMP threads to 1 by setting environment variable OMP_NUM_THREADS=1. It means no additional threads will be created inside IPP functions. In the next IPP versions it will be possible to set number of internal threads with special IPP function.
Regards,
Vladimir
0 Kudos
Ying_S_Intel
Employee
364 Views
Additional information for IPP and threading/OpenMP topic can be found at Intel IPP support site at:
Thanks,
Ying S
Intel IPP
0 Kudos
Reply