- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
when I use this function "ippsFFTGetBufSize_R_32f" in machine core2due the size of the buffer returns "Zero" .
When I run the same function on another machine but with processor Intel Pentium4 the buffer size return a value not "zero"
How can I solve this problem on core2due machine ??
Regards,
kholood
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
there is no problem.IPP canuse different algorithms depending on target cpu to achieve maximum performance.
Regards,
Vladimir
there is no problem.IPP canuse different algorithms depending on target cpu to achieve maximum performance.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi kholood,
ippsFFTGetBufSize function calculates the necessary memory buffer size in dependence of FFT order and used algorithm (it may be different for different processors. Pleasesee Understanding CPU Dispatching in the Intel IPP Library ). 0 is also legal size. it means that for that particular order and library FFT does not need any external buffers on the target cpu.
ippsFFTGetBufSize function calculates the necessary memory buffer size in dependence of FFT order and used algorithm (it may be different for different processors. Pleasesee Understanding CPU Dispatching in the Intel IPP Library ). 0 is also legal size. it means that for that particular order and library FFT does not need any external buffers on the target cpu.
Here is the tip of implement IPP image FFT (almost similar to signal FFT) , just for your reference,
1) definition,
IppiFFTSpec_R_32f *pFFTSpec;
2) call
ippiFFTInitAlloc_R_32f (&pFFTSpec,...)
3) allocate the work buffer.
pBufSize = new int[1];
// allocate the external work buffer
ippiFFTGetBufSize_R_32f (pFFTSpec,pBufSize);
Ipp8u *pBuffer = ippsMalloc_8u(*pBufSize);
4) then call
ippiFFTFwd_RToPack_32f_C1R(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, pFFTSpec, pBuffer);
ippiFFTFree_R_32f( pFFTSpec);
ippsFree(pBuffer);
Regards,
Ying
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page