Dynamic linking is the simplest method and the most commonly used. It takes full advantage of the dynamic dispatching mechanism in the shared object (SO) libraries ) (see also Intel® IPP Structure). The following table summarizes the features of dynamic linking to help you understand the benefits and drawbacks of this linking method.
Benefits |
Drawbacks |
---|---|
|
|
To dynamically link with Intel IPP, follow these steps:
Include ipp.h in your application. This header includes the header files for all Intel IPP functional domains.
Call IPP functions using normal, undecorated function names.
Link corresponding domain soft links. For example, if you use the function ippsCopy_8u, link to libipps.so.
Make sure that you run ipp/bin/ippvars.sh shell script before using Intel IPP libraries in the current session, or set LD_LIBRARY_PATH correctly. For example, export LD_LIBRARY_PATH =$IPPROOT/lib/<arch>:$LD_LIBRARY_PATH in bash, or setenv LD_LIBRARY_PATH =$IPPROOT/lib/<arch>:${LD_LIBRARY_PATH} in csh.
Optimization Notice |
---|
The Intel® Integrated Performance Primitives (Intel® IPP) library contains functions that are more highly optimized for Intel microprocessors than for other microprocessors. While the functions in the Intel® IPP library offer optimizations for both Intel and Intel-compatible microprocessors, depending on your code and other factors, you will likely get extra performance on Intel microprocessors. While the paragraph above describes the basic optimization approach for the Intel® IPP library as a whole, the library may or may not be optimized to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include Intel® Streaming SIMD Extensions 2 (Intel® SSE2), Intel® Streaming SIMD Extensions 3 (Intel® SSE3), and Supplemental Streaming SIMD Extensions 3 (Intel® 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. Intel recommends that you evaluate other library products to determine which best meets your requirements. |
Copyright © 2008 - 2010, Intel Corporation. All rights reserved.