<?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 Re:MKL problems running vslzCorrExec1D, cross correlation. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338166#M32325</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution.&lt;/P&gt;&lt;P&gt;As your issue is resolved we are closing this thread.&lt;/P&gt;&lt;P&gt;If you need any additional assistance from Intel please post a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Nov 2021 09:50:53 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2021-11-22T09:50:53Z</dc:date>
    <item>
      <title>MKL problems running vslzCorrExec1D, cross correlation.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1337718#M32320</link>
      <description>&lt;P&gt;I can't run&amp;nbsp;vslzCorrExec1D because I get status=-2303 or -2302.&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;    // Creating input and output vetcors
    std::vector&amp;lt;std::complex&amp;lt;double&amp;gt;&amp;gt; x, y, z;
    x.resize(5);
    y.resize(5);
    z.resize(2*std::max(x.size(),y.size()) - 1);

    // Starting MKL cross correlation 
    VSLCorrTaskPtr task;
    int status = 0;
    int iy0 = y.size() - 1;
    status = vslzCorrNewTask1D(&amp;amp;task, VSL_CORR_MODE_AUTO, y.size(), x.size(), z.size());
    status = vslCorrSetStart(task,&amp;amp;iy0);
    status = vslzCorrExec1D(task, (MKL_Complex16*)y.data(), xyz_indx, (MKL_Complex16*)x.data(), xyz_indx, (MKL_Complex16*)z.data(), xyz_indx);
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where are errors?&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>Fri, 19 Nov 2021 17:18:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1337718#M32320</guid>
      <dc:creator>Serjio</dc:creator>
      <dc:date>2021-11-19T17:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: MKL problems running vslzCorrExec1D, cross correlation.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338153#M32323</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;I&gt;Where are errors?&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try changing the below line as follows?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;"&gt; int iy0 = y.size() - 1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;"&gt; int iy0 = -(y.size() - 1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below link for details about the &lt;EM&gt;start&lt;/EM&gt; parameter while using the &lt;I&gt;vslCorrSetStart&lt;/I&gt; routine.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/statistical-functions/convolution-and-correlation/convolution-and-correlation-task-editors/vslconvsetstart-vslcorrsetstart.html#vslconvsetstart-vslcorrsetstart" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/statistical-functions/convolution-and-correlation/convolution-and-correlation-task-editors/vslconvsetstart-vslcorrsetstart.html#vslconvsetstart-vslcorrsetstart&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try running your code with the above changes and do let us know if it resolves your issue. If not, please provide us a complete reproducer with oneMKL version and your OS details so that we can work on it from our end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 09:00:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338153#M32323</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-11-22T09:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: MKL problems running vslzCorrExec1D, cross correlation.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338157#M32324</link>
      <description>&lt;P&gt;dear Vidya, after your suggestion my code works without any errors&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;int iy0 = -(y.size() - 1); // it works&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 09:44:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338157#M32324</guid>
      <dc:creator>Serjio</dc:creator>
      <dc:date>2021-11-22T09:44:19Z</dc:date>
    </item>
    <item>
      <title>Re:MKL problems running vslzCorrExec1D, cross correlation.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338166#M32325</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution.&lt;/P&gt;&lt;P&gt;As your issue is resolved we are closing this thread.&lt;/P&gt;&lt;P&gt;If you need any additional assistance from Intel please post a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2021 09:50:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-problems-running-vslzCorrExec1D-cross-correlation/m-p/1338166#M32325</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-11-22T09:50:53Z</dc:date>
    </item>
  </channel>
</rss>

