The specific building procedure is described in the readme.htm document in the root directory of each sample. Most common steps are described below.
Set up your build environment by creating an environment variable named IPPROOT that points to the root directory of your Intel IPP installation. For example, default opt/intel/compiler .
To build all samples, change your current directory to the root media samples directory and use shell script build*.sh[option].
By default, the shell script searches the last version of compiler (assuming that compiler is installed in the default directory). If you wish to use specific version of the Intel C/C++ compiler or GCC software, set an option for the shell script in accordance with the following table:
Compiler |
Option |
---|---|
Intel C++ Composer XE 2011 for Linux OS |
icc120 |
Intel C++ Compiler 11.1 for Linux OS |
icc111 |
GCC 4.x.x |
gcc4 |
GCC 3.4.x |
gcc3 |
After the successful build, the executable file is placed in the corresponding sample directory:
<install_dir>/ipp-samples/<sample-name>/bin/linux*_compiler ,
where compiler = icc111|icc120|gcc3|gcc4 .
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.