<?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 Memory bug related to ippsFIRMR_16sc in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1649883#M28938</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;I am seeing inconsistent behavior between two versions of the FIRMR function that performs multi rate filtering. The version that works as expected is the ippsFIRMR_32fc function, the version that does not work as expected is ippsFIRMR_16sc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Attached is the code used to show this difference. &lt;/SPAN&gt;&lt;SPAN class=""&gt;Note that the fc32 and 16sc versions are practically identical, the parts that differ are highlighted in the `Setup` struct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached code can be compiled for the 16sc version by setting the parameter `use_16sc` to true. To compile the 32fc version set the `use_16sc` parameter to false. The 16sc version has a segfault while the 32fc version does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are several things I have noticed that cause the segfault to occur:&lt;/P&gt;&lt;P&gt;- When the taps_len parameter is greater than or equal to 12 this segfault occurs. For 11 and under there is no segfault.&lt;/P&gt;&lt;P&gt;- If the second filter call is the exact same as the first then no segfault occurs. The segfault occurs when the role of the source and destination buffers are reversed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason for reversing the buffers is to avoid copying or reallocating space for more buffers. After the first filter call the delay_src buffer serves no use so it should be reusable, such as the delay destination buffer for the second call to filter. After the first filter call the delay destination buffer should have values that are meant to be used as the delay source for the next filtering call.&amp;nbsp; Note in the attached code we are simply using the same input and output buffers for both filter calls which is not realistic for an actual use case. It is done this way to simplify the example code displaying the bug.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2024 17:11:46 GMT</pubDate>
    <dc:creator>kwadolowski</dc:creator>
    <dc:date>2024-12-16T17:11:46Z</dc:date>
    <item>
      <title>Memory bug related to ippsFIRMR_16sc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1649883#M28938</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I am seeing inconsistent behavior between two versions of the FIRMR function that performs multi rate filtering. The version that works as expected is the ippsFIRMR_32fc function, the version that does not work as expected is ippsFIRMR_16sc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Attached is the code used to show this difference. &lt;/SPAN&gt;&lt;SPAN class=""&gt;Note that the fc32 and 16sc versions are practically identical, the parts that differ are highlighted in the `Setup` struct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached code can be compiled for the 16sc version by setting the parameter `use_16sc` to true. To compile the 32fc version set the `use_16sc` parameter to false. The 16sc version has a segfault while the 32fc version does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are several things I have noticed that cause the segfault to occur:&lt;/P&gt;&lt;P&gt;- When the taps_len parameter is greater than or equal to 12 this segfault occurs. For 11 and under there is no segfault.&lt;/P&gt;&lt;P&gt;- If the second filter call is the exact same as the first then no segfault occurs. The segfault occurs when the role of the source and destination buffers are reversed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason for reversing the buffers is to avoid copying or reallocating space for more buffers. After the first filter call the delay_src buffer serves no use so it should be reusable, such as the delay destination buffer for the second call to filter. After the first filter call the delay destination buffer should have values that are meant to be used as the delay source for the next filtering call.&amp;nbsp; Note in the attached code we are simply using the same input and output buffers for both filter calls which is not realistic for an actual use case. It is done this way to simplify the example code displaying the bug.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 17:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1649883#M28938</guid>
      <dc:creator>kwadolowski</dc:creator>
      <dc:date>2024-12-16T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re:Memory bug related to ippsFIRMR_16sc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1650638#M28945</link>
      <description>&lt;P&gt;Thank you for posting the issue and providing out reproducer. We reproduced it with your sample code. And we will update here with further investigation.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Dec 2024 03:13:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1650638#M28945</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-12-19T03:13:40Z</dc:date>
    </item>
    <item>
      <title>Re:Memory bug related to ippsFIRMR_16sc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1675744#M29045</link>
      <description>&lt;P&gt;Thank you for your patience.&lt;/P&gt;&lt;P&gt;The fix will be available in a future release.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2025 04:48:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1675744#M29045</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2025-03-18T04:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Memory bug related to ippsFIRMR_16sc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1677320#M29048</link>
      <description>&lt;P&gt;Thank you for looking into this! I look forward to the next release&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 13:07:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1677320#M29048</guid>
      <dc:creator>kwadolowski</dc:creator>
      <dc:date>2025-03-24T13:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Memory bug related to ippsFIRMR_16sc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1681530#M29056</link>
      <description>&lt;P&gt;Intel IPP 2022.1.0 is available for the fix.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation section_selectors question_selectors first_st_section" data-section_field_id="b31d-c176-7c6d"&gt;
&lt;DIV class="lia-message-body-content sub_section_element_selectors"&gt;
&lt;DIV class="col-1 left"&gt;
&lt;DIV class="twocolumnpar-one intelparsys"&gt;
&lt;DIV class="colorBlock section"&gt;
&lt;DIV id="" class="intel-ws link-default theme-white theme-light-default" data-component="colorBlock" data-component-id=""&gt;
&lt;DIV class="atom-color-block color-block tile-version"&gt;
&lt;DIV class="m-color-block content color-block-color-main has-spark marquee-content spark-none"&gt;
&lt;DIV class="ws-a-title atomTitle"&gt;
&lt;DIV id="" class="intel-ws link-default " data-component="atomTitle" data-component-id="4"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="col-2 left"&gt;
&lt;DIV class="twocolumnpar-two intelparsys"&gt;
&lt;DIV class="colorBlock section"&gt;
&lt;DIV id="" class="intel-ws link-default theme-white theme-light-default" data-component="colorBlock" data-component-id=""&gt;
&lt;DIV class="atom-color-block color-block tile-version"&gt;
&lt;DIV class="m-color-block content color-block-color-main has-spark marquee-content spark-none"&gt;
&lt;DIV class="colorblock-par parsys"&gt;
&lt;DIV class="atomCta section"&gt;
&lt;DIV class=""&gt;&lt;A href="https://community.intel.com/t5/Intel-Integrated-Performance/Intel-Integrated-Performance-Primitives-Intel-IPP-version-2022-1/m-p/1678246#M29049" target="_blank"&gt;Intel® Integrated Performance Primitives (Intel® IPP) version 2022.1.0 is released. - Intel Community&lt;/A&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="AddMessageTags lia-message-tags lia-component-message-view-widget-tags"&gt;&lt;A id="showAddTag" class="lia-link-navigation add-tag-link" role="button" href="https://community.intel.com/t5/Intel-Integrated-Performance/Intel-Integrated-Performance-Primitives-Intel-IPP-version-2022-1/m-p/1678246#" aria-label="Add Tag..." target="_blank"&gt;Add tags&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Apr 2025 01:39:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-bug-related-to-ippsFIRMR-16sc/m-p/1681530#M29056</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2025-04-09T01:39:55Z</dc:date>
    </item>
  </channel>
</rss>

