Intel® Integrated Performance Primitives

ipp_resize_mt example access violation with TBB


I found a read access violation while testing the ipp_resize_mt example. It happens with all ippResize_XXX functions except the nearest neighbor interpolation.

I've checked the cause and found out that it depends on the border flags set:

      if (r.rows().end() != pSrcImage->m_iHeight) // non-bottom
        border = (IppiBorderType)(border | ippBorderInMemBottom);

Why does this produce an access violation with ippResizeLinear but not with ippResizeNearest?

Intel® Parallel Studio XE 2015 Update 1 Composer Edition for C++ Linux*

Intel® Parallel Studio XE 2015 Update 1 Composer Edition for C++ Linux includes the latest Intel C/C++ compilers and performance libraries for IA-32, Intel® 64, and Intel® Many Integrated Core (Intel® MIC) architecture systems.

  • Developers
  • Linux*
  • C/C++
  • Intel® C++ Compiler
  • Intel® C++ Composer XE
  • Intel® Composer XE
  • Intel® Integrated Performance Primitives
  • Intel® Math Kernel Library
  • Intel® Threading Building Blocks
  • Subscribe to Intel® Integrated Performance Primitives