beginning IPP under Linux

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[n] ); \
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?

4 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

>>...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! ).

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

>>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-pr...

http://software.intel.com/en-us/articles/intel-integrated-performance-pr...

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-perform...

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 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-integrat...

http://software.intel.com/en-us/articles/intel-integrated-performance-pr...

In PDF format
http://software.intel.com/en-us/articles/ipp-crypto-guide

http://software.intel.com/en-us/articles/download-ipp-cryptography-libra...

http://software.intel.com/en-us/articles/boosting-cryptography-performan...

http://software.intel.com/en-us/articles/intel-integrated-performance-pr...

http://software.intel.com/en-us/articles/threading-and-intel-integrated-...

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen