<?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 More information. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115499#M25499</link>
    <description>&lt;P&gt;More information.&lt;/P&gt;

&lt;P&gt;I mentioned earlier that it does not fail with an earlier version of the host code. The reason is that this earlier code is NOT calling the function "ippInit()" which is the very first IPP routine that is being used in the program flow. If we add the call to ippInit() or IppStaticInit() then even the earlier code fails and hangs at the same place.&lt;/P&gt;

&lt;P&gt;The hang happens with IPP version 7.1.1 and all the 8.x.x that we've tried but does not happen with IPP version 7.0.205. We cannot use the latter because it does not support the resampling routines that we need.&lt;/P&gt;

&lt;P&gt;Again, any information is welcomed.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Richard&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2017 20:58:52 GMT</pubDate>
    <dc:creator>Richard_P_1</dc:creator>
    <dc:date>2017-01-03T20:58:52Z</dc:date>
    <item>
      <title>Bit exact issue with ippsLPCToLSP_GSMAMR_16s function which leads to crash</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115494#M25494</link>
      <description>&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Hi,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;We got a crash issue reported from the deployment in the field in GSM AMR encoder using Intel IPP.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;We are able to easily reproduce this issue with a 30 frame voice clip.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;The crash is happening in function&amp;nbsp;ippsAlgebraicCodebookSearch_GSMAMR_16s. After back tracing the crash, we found that the issue happened because of invalid T0 and gain_pit values. So we analyzed the difference in bit exactness, and followed the trail, and found that it is originating in the function&amp;nbsp;ippsLPCToLSP_GSMAMR_16s.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;If we replace this IPP function (ippsLPCToLSP_GSMAMR_16s) with its original standard reference code function (Az_lsp), we are getting bit exact results and ofcourse no crash! Unfortunately the computation required for this function Az_lsp is extremely huge, and cannot be used in our product in the field, which will have capacity hit, which will make it unusable.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;We are using IPP version 7.1&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;1. Are there any known issue with the function&amp;nbsp;ippsLPCToLSP_GSMAMR_16s? And any fix available for this?&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;2. Is there any equivalent function for this IPP function which are optimized as good as this function?&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;3. Is there a way we can get source code of the function&amp;nbsp;ippsLPCToLSP_GSMAMR_16s, so that we could try to fix the issue ourselves?&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Appreciate any help.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Thanks and regards,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Indrasena&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 12:51:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115494#M25494</guid>
      <dc:creator>Indrasenareddy_G_</dc:creator>
      <dc:date>2016-07-01T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Hi Indrasena,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115495#M25495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Indrasena,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ippsLPCToLSP_GSMAMR_16s has been deprecated since IPP 8, and the functions in speech codec domain are deprecated and no longer supported in IPP 9.0. However, you can still download the legacy libraries here&amp;nbsp;&lt;A href="https://software.intel.com/en-us/articles/intel-ipp-legacy-libraries"&gt;https://software.intel.com/en-us/articles/intel-ipp-legacy-libraries&lt;/A&gt;, but those functions will not be optimized for future architectures. Thanks!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Shaojuan&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:16:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115495#M25495</guid>
      <dc:creator>Shaojuan_Z_Intel</dc:creator>
      <dc:date>2016-07-01T20:16:18Z</dc:date>
    </item>
    <item>
      <title>Hi Indrasena,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115496#M25496</link>
      <description>&lt;P style="margin-top:0cm;margin-right:0cm;margin-bottom:12.8pt;margin-left:
0cm"&gt;&lt;SPAN style="font-size:11.5pt;font-family:&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;;
color:#555555"&gt;Hi&lt;SPAN class="apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"&gt;Indrasena&lt;/SPAN&gt;&lt;SPAN style="font-size:11.5pt;font-family:
&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#555555"&gt;,&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 12.8pt; box-sizing: border-box; max-width: none;"&gt;&lt;SPAN style="font-size:11.5pt;font-family:&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;;
color:#555555"&gt;We are facing the same issue. However we've noticed that it could have to do with how the host code drives the IPP lib because the situation does not happen with an older host code. It only gets stuck when driven by the AMR "speech-codecs&amp;gt;application&amp;gt;usc_speech_codec_src&amp;gt;player.c" from ipp-samples-7.1.1.013. But our app is out in the field with the later and we'd prefer to find the issue in&amp;nbsp;ipp-samples-7.1.1.013 rather than reverting to our prior version.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 12.8pt; box-sizing: border-box; max-width: none;"&gt;&lt;SPAN style="font-size:11.5pt;font-family:&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;;
color:#555555"&gt;Have you resolved the issue?&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 12.8pt; box-sizing: border-box; max-width: none;"&gt;&lt;SPAN style="font-size:11.5pt;font-family:&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;;
color:#555555"&gt;Thanks,&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 12.8pt; box-sizing: border-box; max-width: none;"&gt;&lt;SPAN style="font-size:11.5pt;font-family:&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;;
color:#555555"&gt;Richard&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 15:52:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115496#M25496</guid>
      <dc:creator>Richard_P_1</dc:creator>
      <dc:date>2017-01-02T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Richard,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115497#M25497</link>
      <description>&lt;P&gt;Richard,&lt;BR /&gt;
	do you have the information on where the function hang?&amp;nbsp; It was noticed an issues that the function internally hangs on inw7_ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE?&lt;BR /&gt;
	Not sure if this is the same problem with yours&lt;/P&gt;

&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (gdb) bt&lt;/PRE&gt;

&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #0&amp;nbsp; 0x07b2bcfe inw7_ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE () from /usr/lib/libippscw7.so.7.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        #1&amp;nbsp; 0x07b1e348 inw7_ownAlgebraicCodebookSearch_M122_GSMAMR_16s () from
            ........
&lt;/PRE&gt;

&lt;PRE&gt;Thanks,
Chao
&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jan 2017 01:49:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115497#M25497</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2017-01-03T01:49:04Z</dc:date>
    </item>
    <item>
      <title>Chao,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115498#M25498</link>
      <description>&lt;P&gt;Chao,&lt;/P&gt;

&lt;P&gt;Yes, this is the problem that we are facing. We're debugging under Windows but we're also working with Linux and it also hangs (but we did not check if stuck at the same place) It hangs in the routine you mentioned.&lt;/P&gt;

&lt;P&gt;CALL STACK REPORT:&lt;/P&gt;

&lt;P&gt;ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE() &amp;nbsp; (** LOOPS IN HERE)&lt;BR /&gt;
	ownsAlgebraicCodebookSearch_GSMAMR_16s()&lt;BR /&gt;
	ownsAlgebraicCodebookSearch_GSMAMR_16s()&lt;BR /&gt;
	ippsAlgebraicCodebookSearch_GSMAMR_16s()&lt;/P&gt;

&lt;P&gt;Do you have a fix or any idea on how to resolve this?&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;BR /&gt;
	Richard&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:37:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115498#M25498</guid>
      <dc:creator>Richard_P_1</dc:creator>
      <dc:date>2017-01-03T17:37:40Z</dc:date>
    </item>
    <item>
      <title>More information.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115499#M25499</link>
      <description>&lt;P&gt;More information.&lt;/P&gt;

&lt;P&gt;I mentioned earlier that it does not fail with an earlier version of the host code. The reason is that this earlier code is NOT calling the function "ippInit()" which is the very first IPP routine that is being used in the program flow. If we add the call to ippInit() or IppStaticInit() then even the earlier code fails and hangs at the same place.&lt;/P&gt;

&lt;P&gt;The hang happens with IPP version 7.1.1 and all the 8.x.x that we've tried but does not happen with IPP version 7.0.205. We cannot use the latter because it does not support the resampling routines that we need.&lt;/P&gt;

&lt;P&gt;Again, any information is welcomed.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Richard&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:58:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115499#M25499</guid>
      <dc:creator>Richard_P_1</dc:creator>
      <dc:date>2017-01-03T20:58:52Z</dc:date>
    </item>
    <item>
      <title>More info...</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115500#M25500</link>
      <description>&lt;P&gt;More info...&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;cpu type is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; ippCpuAVX &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x46, /* Processor supports Intel(R) Advanced Vector Extensions (Intel(R) AVX) instruction set &amp;nbsp; &amp;nbsp; */&lt;/P&gt;

&lt;P&gt;I tried more cpu types as such:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; //IppStatusValue = ippInit(); &amp;nbsp;/ this fails (hangs in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cpuType = ippGetCpuType(); // cpuType is&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;ippCpuAVX&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;cpuType =&amp;nbsp;ippCpuSSE2;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; IppStatusValue = ippInitC&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;pu(cpuType);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;When overriding cpuType with&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;ippCpuSSE - does NOT hang&lt;/SPAN&gt;&lt;BR style="font-size: 13.008px;" /&gt;
	&lt;SPAN style="font-size: 13.008px;"&gt;ippCpuSSE2 - does NOT hang&lt;/SPAN&gt;&lt;BR style="font-size: 13.008px;" /&gt;
	&lt;SPAN style="font-size: 13.008px;"&gt;ippCpuSSE3 - hangs in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE()&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 13.008px;"&gt;ippCpuSSSE3 - hangs in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE()&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 13.008px;"&gt;ippCpuAVX- hangs in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;ownSearchOptimalPulsePos_M122_GSMAMR_16s_optSSE()&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:15:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115500#M25500</guid>
      <dc:creator>Richard_P_1</dc:creator>
      <dc:date>2017-01-03T23:15:01Z</dc:date>
    </item>
    <item>
      <title>Hi Richard,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115501#M25501</link>
      <description>&lt;P&gt;Hi Richard,&lt;BR /&gt;
	I sent you a message&amp;nbsp;for this problem.&amp;nbsp; Is it possible&amp;nbsp;for you&amp;nbsp;to submit us a issue in&amp;nbsp;our premier support: &lt;A href="http://premier.intel.com"&gt;http://premier.intel.com&lt;/A&gt;.&amp;nbsp; so we can&amp;nbsp;further check this problem?&lt;/P&gt;

&lt;P&gt;regards,&lt;BR /&gt;
	Chao&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 05:15:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bit-exact-issue-with-ippsLPCToLSP-GSMAMR-16s-function-which/m-p/1115501#M25501</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2017-01-11T05:15:55Z</dc:date>
    </item>
  </channel>
</rss>

