Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Using Intel® IPP threaded static libraries

$
0
0

Q: How to get Intel® IPP Static threaded libraries?

Answer: while installing Intel Software suite product (Intel® Parallel Studio or Intel® System Studio or Intel® INDE), select custom installation to get option to select threaded libraries.

To select right package of threaded libraries, right click and enable ‘Install’ option.

After selecting threaded libraries, selection option will get highlighted with  mark and memory requirement for threaded libraries will get highlighted.

Q: Where I can find threaded static libraries in my installation?

Answer: After installing threaded libraries as mentioned in the above mentioned steps, internally threaded files will be in the following directory

<ipp directory>/lib/<arch>/threaded

Windows* OS: mt suffix in a library name (ipp<domain>mt.lib)

Linux* OS and OS X*: no suffix in a library name (libipp<domain>.a)

Q: How to set path to single threaded or multi-threaded library in system variable or in project?

Answer:

Windows* OS:

Single-threaded: SET LIB=<ipp directory>/lib/<arch>

Multi-threaded: SET LIB=<ipp directory>/lib/<arch>/threaded           

Linux* OS/OS X*

Single-threaded: gcc <options> -L <ipp directory>/lib/<arch>

Multi-threaded: gcc <options> -L <ipp directory>/lib/<arch>/threaded

Q: Is it recommended to use threaded static libraries?

Answer: It is strongly recommended to use the single-threaded version of the libraries for new development. Internally threaded (multi-threaded) versions of Intel® IPP libraries are deprecated but made available for legacy applications

Q : How can I control threading behavior in the threaded static libraries?

Answer: Intel IPP implements multi-threading optimization with OpenMP* directives. Users can choose either OpenMP* environment variables (e.g OMP_NUM_THREADS) or Intel IPP threading APIs to control the threading behavior. Please refer to IPP Threading/OpenMP* FAQ page for further information.

 

Please let us know if you have any feedback on deprecations via the feedback URL


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>