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

Bug: ippiFilterSeparable_32f_C1R_L writes outside the dst buffer

Nikolai_T_
Beginner
394 Views

Dear Intel,

I have tried using ippiFilterSeparable_32f_C1R_L but encountered the following problem:

   - the function writes one row after the end of the available size in the destination buffer. I verified this by creating a bigger destination buffer with predetermined value. After the function I checked which pixels outside the allowed roi have been changed.

Here is my use case:

  - IPP Version 2018.2 64 bits on Windows 10 Pro x64

  - CPU Intel i7 3770

  - dataType = ipp32f, kernelDataType = ipp32f, numChannels  = 1, roiSize = { 192,  192 }, kernelSize = { 7, 7 }, srcStep 768

Is this forum the correct place to submit such issues?

Regards Nikolai

0 Kudos
3 Replies
Pavel_B_Intel1
Employee
394 Views

Hi Nikolai,

thank you, we will investigate the issue.

Pavel

0 Kudos
Andrey_B_Intel
Employee
394 Views

Hello Nikolai.

I confirm your issue. It is one of latest new features of IPP. As workaround allocate please 1 additional line in destination image. We'll fix this issue in next release of IPP.

Thank you very much for information.

 

 

0 Kudos
pbnf
Beginner
394 Views

Isn't that a memory alignment issue?

Does the problem persist if you allocate the destination buffer with ippsMalloc_32f_L?

Something like:

Ipp32f* Dest = ippsMalloc_32f_L(height*width*sizeof(Ipp32f));

0 Kudos
Reply