Tag Cloud

Blogumulus by Roy Tanck and Amanda Fazani

1. Setting Environment Variables




- Add the path to related Intel IPP files to the existing list, for example:
Select LIB and then type in the directory for the Intel IPP stub libraries (default isC:\Program Files\Intel\IPP\5.3\ia32\stublib),
Select INCLUDE and then type in the directory for the Intel IPP header files(default is C:\Program Files\Intel\IPP\5.3\ia32\include),
Select PATH and then type in the directory for the Intel IPP binaries (default isC:\Program Files\Intel\IPP\5.3\ia32\bin).
2. Configuring Microsoft Visual Studio Environment



- Select Tools > Options > Projects > VC++ Directories
select Include Files, and then type in the directory for the Intel IPP include files (for example, default is:C:\Program Files\Intel\IPP\5.3\ia32\include),
select Library Files, and then type in the directory for the Intel IPP library files (for example, default is: C:\ProgramFiles\Intel\IPP\5.3\ia32\stublib orC:\Program\Files\Intel\IPP\5.3\ia32\lib),
select Executable Files and then type in the directory for the Intel IPP executable files (for example, default is:C:\Program Files\Intel\IPP\5.3\ia32\bin),



- Select Project > Properties > Linker > Input
in the Additional Dependencies line add the libraries you wish to link to (for example, ipps.lib or ippsmerged.lib)
3. Testing Simple Example Program
#include
#include
int main()
{
const int SIZE = 256;
Ipp8u pSrc[SIZE], pDst[SIZE];
int i;
for(i=0;i"<"size;i++)
pSrc[i] = (Ipp8u)i;
ippsCopy_8u(pSrc,pDst, SIZE);
printf("pDst[%d] = %d\n", SIZE-1, pDst[SIZE-1]);
return 0;
}