<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi David. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093156#M24982</link>
    <description>&lt;P&gt;Hi David.&lt;/P&gt;

&lt;P&gt;The memory alignment is desirable by performance reason but not necessary in most of IPP function.&amp;nbsp;Also some IPP functions have different code branches for aligned and nonaligned case. So if there is bug in one of branches - you will see crash if memory is aligned/not aligned. Also may be your application allocates not enough memory and&amp;nbsp;&amp;nbsp;IPP functions read extra memory assuming that this memory&amp;nbsp;is available.&amp;nbsp;Also there can be a lot of reasons of such crash. Could you please provide small C reproducer of your case?&lt;/P&gt;

&lt;P&gt;Thanks for&amp;nbsp;your question.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 11:22:06 GMT</pubDate>
    <dc:creator>Andrey_B_Intel</dc:creator>
    <dc:date>2017-04-27T11:22:06Z</dc:date>
    <item>
      <title>Intel IPP memory alignment required or optional?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093155#M24981</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I am using Intel IPP in a project and it works great most of the time, but I still have few unexpected memory access violations.&lt;/P&gt;

&lt;P&gt;Could you confirm that memory alignment is optional in every ipp function? I often work with ROI in images and so ROI buffers are no necessary aligned.&lt;/P&gt;

&lt;P&gt;Is there any known bug with ippiCopy, ippiScale or ippiSwapColor? In my program I removed all the code except image format conversion based on the three listed functions and it occasionnaly crash.&lt;/P&gt;

&lt;P&gt;For information, my main app is C# and WPF and I have a C++ DLL which contains calls to IPP function. I only use SSE2 optimized dlls.&lt;/P&gt;

&lt;P&gt;I checked and double-checked everything. This is really strange...&lt;/P&gt;

&lt;P&gt;Also, does any one know if we could use IPP with Visual Studio 2017? At the moment it is not listed at the install stage and I did not found any information on update for VS2017.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
	David&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 10:59:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093155#M24981</guid>
      <dc:creator>Briard__David</dc:creator>
      <dc:date>2017-04-27T10:59:19Z</dc:date>
    </item>
    <item>
      <title>Hi David.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093156#M24982</link>
      <description>&lt;P&gt;Hi David.&lt;/P&gt;

&lt;P&gt;The memory alignment is desirable by performance reason but not necessary in most of IPP function.&amp;nbsp;Also some IPP functions have different code branches for aligned and nonaligned case. So if there is bug in one of branches - you will see crash if memory is aligned/not aligned. Also may be your application allocates not enough memory and&amp;nbsp;&amp;nbsp;IPP functions read extra memory assuming that this memory&amp;nbsp;is available.&amp;nbsp;Also there can be a lot of reasons of such crash. Could you please provide small C reproducer of your case?&lt;/P&gt;

&lt;P&gt;Thanks for&amp;nbsp;your question.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 11:22:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093156#M24982</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2017-04-27T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Hi Andrew,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093157#M24983</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;

&lt;P&gt;Thanks for confirming that memory alignment is just recommended for performance reasons, but not required.&lt;BR /&gt;
	My app is huge but I will try to see I am could provide a repro code in a small sample app.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 12:42:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093157#M24983</guid>
      <dc:creator>Briard__David</dc:creator>
      <dc:date>2017-04-27T12:42:59Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;Also, does any one know if</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093158#M24984</link>
      <description>&amp;gt;&amp;gt;Also, does any one know if we could use IPP with Visual Studio 2017?

Intel performance libraries, IPP or MKL, do not have any dependencies on Visual Studio 2017 components and designed / implemented to have dependencies on Instruction Set Architectures ( ISAs ).

If a standalone IPP test is working on a Windows operating system, and VS 2017 is also working on the same operating system, then no problems should exist in case when IPP is used with an application built using VS 2017.</description>
      <pubDate>Thu, 27 Apr 2017 19:03:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-memory-alignment-required-or-optional/m-p/1093158#M24984</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2017-04-27T19:03:41Z</dc:date>
    </item>
  </channel>
</rss>

