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

Is the static version of the IPP library thread-safe?

jffuller
Beginner
299 Views
There are a number of references on the Intel web site indicating that the static IPP libraries do not support multi-threading.
http://www.intel.com/support/performancetools/libraries/ipp/sb/cs-010662.htmDoes Intel IPP support multi-threading? Is it thread safe?
Yes. Intel IPP supports multi-threading in the dynamic libraries. The static libraries do not support multi-threading. All the functions have been tested to be thread safe.
I think this statement means that thedynamic IPP library creates multiple threads internally to speed up some operations on a multi-processor computer. The static IPP library does not do this.
However, it does not answer the question whether the static IPP library is thread-safe. That is, is it safe to call functions in the static IPP library from different threads that were created byan application?
Chris

0 Kudos
3 Replies
Vladimir_Dudnik
Employee
299 Views

Hi Chris,

All IPP functions were designed to be multi-thread safe regardless of DLL or static libraries packaging. We do not use global variables in IPP.

Regards,
Vladimir

0 Kudos
tkelman
Beginner
299 Views
Thanks for the info - that helps us QNX folks as well,

-todd
0 Kudos
Vladimir_Dudnik
Employee
299 Views

Additional comment: some functions in IPP DLL can use threading inside (depending on host architecture and processed data size)whereas the same functions in IPP static libraries never use threading inside.

Regards,
Vladimir

0 Kudos
Reply