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

Size of temporary Buffer for ippmInvert

cesarcastro
Beginner
272 Views
Hi,

I was having a lot of weird problems in my app and solved them increasing the size of the tempbuffer variable in the ippmInvert function.

I was using ippsMalloc_64f(numRows * numCols). And the problems were solved when I increased the length to (numRows * numCols * 2).

But it was a guess and I'm worried it might not work depending on the size of the original matrix.

what would be a better choice of buffer size?

Thanks very much.

Cesar
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
272 Views
HI,
there was issue in IPP v4.1 with this function. This issue was solved in IPP v5.0 beta.
For your reference, buffer size must be at least equal to (widthHeight* widthHeight + widthHeight), where widthHeight is size of the square matrix.

Vladimir

0 Kudos
Reply