Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Help running this sample example

shalu_itbhu
Beginner
287 Views

Hi,
I am a first timer of IPP with Visual Studio.

I just need some help lets say Reference: IPPSman.pdf, page 306 has this function.

How do I test this : I added in the options; include: path to include as:

C:Program FilesIntelIPPinclude

In stublib:

C:Program FilesIntelIPPstublib

and I made a test.cpp and copied this code and include header files ipp.h, ipps.h but still test.cpp does not get compiled. I dont know which header files and how should they be added. This is not mentioned in the manual.

If anyone can help make me run a sample code, I can program my assignment.

Thanks

void ConjPerm(void) {

Ipp16s x[8] = {1,2,3,5,6,7,8,9};

Ipp16sc zero={0,0}, y[6];

IppStatus st;

ippsSet_16sc( zero, y, 6 );

st = ippsConjPerm_16sc( x, y, 6 );

printf_16sc(Perm 6:, y, 6, st );

ippsSet_16sc( zero, y, 6 );

st = ippsConjPerm_16sc( x, y, 5 );

printf_16sc(Perm 5:, y, 5, st );

}

Output:

Perm 6: {1,0} {3,5} {6,7} {2,0} {6,-7} {3,-5}

Perm 5: {1,0} {2,3} {5,6} {5,-6} {2,-3}

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
287 Views
HI I recommend you to take a look on FAQ page,
Regards,
Vladimir
0 Kudos
Reply