Developer Guide

Contents

Linking Options

Intel® Integrated Performance Primitives (Intel® IPP) is distributed as:
  • Static library:
    static linking results in a standalone executable
  • Dynamic/shared library:
    dynamic linking defers function resolution until runtime and requires that you bundle the redistributable libraries with your application
The following table provides description of libraries available for linking.
Single-threaded
(non-threaded)
Threading Layer
(externally threaded)
Description
Suitable for application-level threading
Implementation of application-level threading depends on single-threaded libraries
Found in
Main package
After installation:
<ipp directory>
/lib/
<arch>
(static) and
<install_dir>/
/redist/
<arch>
/ipp
(dynamic)
Main package
After installation:
<ipp directory>
/lib/
<arch>
/tl/
<threading_type>
, where
<threading_type>
is one of
{tbb, openmp}
Static linking
Windows* OS:
mt
suffix in a library name (
ipp
<domain>
st.lib
)
Linux* OS
and macOS*
: no suffix in a library name (
libipp
<domain>
.a
)
Windows* OS:
mt
suffix in a library name (
ipp
<domain>
mt_tl.lib
)
Linux* OS
and macOS*
: no suffix in a library name (
libipp
<domain>
_tl.a
)
+ single-threaded libraries dependency
Dynamic Linking
Default (no suffix)
Windows* OS:
ipp
<domain>
.dll
Linux* OS:
libipp
<domain>
.so
macOS*:
libipp
<domain>
.dylib
_tl
suffix
Windows* OS:
ipp
<domain>
_tl.dll
Linux* OS:
libipp
<domain>
_tl.so
macOS*:
libipp
<domain>
_tl.dylib
+ single-threaded library dependency
To switch between Intel IPP libraries, set the path to the preferred library in system variables or in your project, for example:
  • Windows* OS
    :
    Single-threaded:
    SET LIB=
    <ipp directory>
    /lib/
    <arch>
    Threading Layer:
    SET LIB=
    <ipp directory>
    /lib/
    <arch>
    /tl/
    <threading_type>
    . Additionally, set path to single-threaded libraries:
    SET LIB=
    <ipp directory>
    /lib/
    <arch>
  • Linux* OS
    /macOS*
    :
    Single-threaded:
    gcc
    <options>
    -L
    <ipp directory>
    /lib/
    <arch>
    Threading Layer:
    gcc
    <options>
    -L
    <ipp directory>
    /lib/
    <arch>
    /tl
    <threading_type>
    . Additionally, set path to single-threaded libraries:
    gcc
    <options>
    -L
    <ipp directory>
    /lib/
    <arch>
On Linux* OS
and macOS*
, Intel IPP library depends on the following Intel® C++ Compiler runtime libraries:
libirc.a
,
libsvml.a
, and
libimf.a
. You should add a link to these libraries into your project. You can find these libraries in
<intel compiler directory>
/lib
folders.
Threading Layer depends on the OpenMP* or Intel® Threading Building Blocks (Intel® TBB) library according to the selected threading type. You can find these libraries in
<intel compiler directory>
/lib
or
<tbb directory>
/lib
folders.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804