Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Saman_T_
Beginner
48 Views

beginning IPP under Linux

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
48 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! ).
Saman_T_
Beginner
48 Views

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

SergeyKostrov
Valued Contributor II
48 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-fu... 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-in... 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-understan... http://software.intel.com/en-us/articles/threading-and-intel-integrated-performance-primitives
Reply