- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using IPP 2019 Update 1, I get a ippStsSizeErr error whenever I call either of the following functions with a length that's greater than 2^26 (67,108,864).
ippsDFTGetSize_C_64fc()
ippsDFTInit_C_64fc()
This length limit isn't documented anywhere. Is it expected behavior?
This article indicates that the length limit for the DFT is 2^32: https://software.intel.com/en-us/articles/mkl-ipp-choosing-an-fft
Thank you for your time.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for report. This looks like a error, we will check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The size variables pSizeSpec, pSizeInit, pSizeBuf in function ippsDFTGetSize have int datatype, therefore only vectors which require auxiliary size less than INT_MAX(32bit) can be processed, i.e.:
- for double precision complex DFT (64fc) the length upper bound is 67108863 (2^26 - 1).
- for single precision complex DFT (32fc) the length upper bound is 134217727 (2^27 - 1).
- for double precision complex FFT (64fc) the length upper bound is 2^27.
- for double precision complex FFT (32fc) the length upper bound is 2^28.
You can use DFT from MKL for your task because they support ILP64 for size variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for that information. It makes sense. I think it might be helpful to others if this information were officially documented in the IPP Developer Reference as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the issue, we definitely will update IPPs documentation and existing KB article you referred to as well.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page