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

beginning IPP under Linux

Saman_T_
Beginner
280 Views

I am a newbie to IPP. I would thank if you answer my questions and if I am wrong guide me through the process.

1. Is here the right place to ask IPP programming questions?

2. I need to install IPP on my ubuntu 12.x machine. Could anyone give me instruction how to accomplish that?

3.Let's take a look at this function presented by IPP tutorial:

#define genPRINT(TYPE,FMT) \
void printf_##TYPE(const char* msg, Ipp##TYPE* buf, int len, IppStatus st ) { \
int n; \
if( st > ippStsNoErr ) \
printf( "-- warning %d, %s\n", st, ippGetStatusString( st )); \
else if( st < ippStsNoErr ) \
printf( "-- error %d, %s\n", st, ippGetStatusString( st )); \
printf(" %s ", msg ); \
for( n=0; n<len; ++n ) printf( FMT, buf ); \
printf("\n" ); \
}

This is very weird. The function prototype gets TYPE and FMT. But, how are the len and msg parameters in print_##TYPE being set?

0 Kudos
3 Replies
SergeyKostrov
Valued Contributor II
280 Views
>>...This is very weird. The function prototype gets TYPE and FMT. But, how are the len and msg parameters >>in print_##TYPE being set? This is the macro and this is Not the function. A C/C++ compiler will substitute ##PARAM arguments with some values at compile time ( Not at runtime! ).
0 Kudos
Saman_T_
Beginner
280 Views

Thanks, could you also answer question number 1 and 2 please.

0 Kudos
SergeyKostrov
Valued Contributor II
280 Views
>>1. Is here the right place to ask IPP programming questions? Yes, This is the forum where anybody could ask a question about Intel IPP library or report a problem. >>2. I need to install IPP on my ubuntu 12.x machine. Could anyone give me instruction how to accomplish that? There are lots of articles related to IPP library on Intel's website. Here are some of them from my collection: . Generic http://software.intel.com/en-us/intel-ipp http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-faq http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation http://software.intel.com/en-us/articles/intel-ipp-80-library-release-notes http://software.intel.com/en-us/articles/intel-ipp-71-library-release-notes http://software.intel.com/en-us/articles/intel-ipp-71-deprecated-features http://software.intel.com/sites/products/ipp-deprecated-features-feedback http://secure-software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-functions-optimized-for-intel-advanced http://software.intel.com/en-us/articles/haswell-support-in-intel-ipp Online Reference Manual http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/ipp_manual/index.htm IPP knowledge base http://software.intel.com/en-us/articles/intel-ipp-kb/all http://software.intel.com/en-us/articles/intel-ipp-70-library-install-guide http://software.intel.com/en-us/articles/openmp-and-the-intel-ipp-library IPP code samples http://software.intel.com/en-us/articles/code-samples-for-intel-integrated-performance-primitives-intel-ipp-library-71 http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-code-samples In PDF format http://software.intel.com/en-us/articles/ipp-crypto-guide http://software.intel.com/en-us/articles/download-ipp-cryptography-libraries http://software.intel.com/en-us/articles/boosting-cryptography-performance-with-intel-libraries http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-understanding-cpu-optimized-code-used-in-intel-ipp http://software.intel.com/en-us/articles/threading-and-intel-integrated-performance-primitives
0 Kudos
Reply