<?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 vsldConvExecX in 2D/3D in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784984#M1767</link>
    <description>Hello Victor and vipin,&lt;BR /&gt;

 thanks for the response. &lt;BR /&gt;
&lt;BR /&gt;
Vipin, there are no multidimensional example provided! In fact
vslConvExecX is used on a 1d array! &lt;BR /&gt;
&lt;BR /&gt;
Victor, sorry for the spasm! Of course it should be (sx-1) + (sy-1) + 1
and yes thanks for pointing out the rank = 2 and zstride. I changed
them as suggested. The last few pages on the doc I didn't read too thoroughly were very useful! Also had to change to vsldConvNewTaskX from vsldConvNewTask!!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;C.S.N&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 10 Mar 2011 14:04:15 GMT</pubDate>
    <dc:creator>csnatarajan</dc:creator>
    <dc:date>2011-03-10T14:04:15Z</dc:date>
    <item>
      <title>vsldConvExecX in 2D/3D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784981#M1764</link>
      <description>Hello all,&lt;BR /&gt; Is there an example code for 2D or 3D convolution using vsldConvExecX? I am not sure I understand the documentation (Ch. 10 in MKL doc.). It seems like I cannot pass a dynamically allocated 2D array to vsldConvExecX. Is this correct? If so do I just pass a 1D array (with the usual pointer arithmetic to access elements in i,j fashion?)? If so what do the strides and shapes look like? &lt;BR /&gt;&lt;BR /&gt;I have something like this &lt;BR /&gt;.........&lt;BR /&gt;&lt;BR /&gt; VSLConvTaskPtr task;&lt;BR /&gt; MKL_INT rank,mode,xshape[2],yshape[2],zshape[2];&lt;BR /&gt; static double x[sx*sx],y[sy*sy],z[sz*sz];&lt;BR /&gt; MKL_INT xstride[2],ystride[2],zstride[2];&lt;BR /&gt; int status,i;&lt;BR /&gt;&lt;BR /&gt; xshape[0] = xshape[1] = sx; yshape[0] = yshape[1] = sy; zshape[0] = zshape[1] = sz;&lt;BR /&gt;&lt;BR /&gt; xstride[0] = 1; xstride[1] = sx; ystride[0] = 1; ystride[1] = sy; zstride[0] = 1; zstride[1] = ??&lt;BR /&gt;&lt;BR /&gt; for (i=0; i&amp;lt;(sx*sx); i++)&lt;BR /&gt; x&lt;I&gt;=i*i;&lt;BR /&gt; for (i=0; i&amp;lt;(sy*sy); i++)&lt;BR /&gt; y&lt;I&gt; = 1;&lt;BR /&gt;&lt;BR /&gt; rank = 1;&lt;BR /&gt; mode = VSL_CONV_MODE_AUTO;&lt;BR /&gt;&lt;BR /&gt; status = vsldConvNewTask(&amp;amp;task,mode,rank,xshape,yshape,zshape);&lt;BR /&gt;...&lt;BR /&gt; status = vsldConvExecX(task,y,ystride,z,zstride);&lt;BR /&gt;&lt;BR /&gt;........&lt;BR /&gt;&lt;BR /&gt;I am unsure what zstride[1] will be. Also, I am thinking that sz would be the same size as the input signal, is this ok?&lt;BR /&gt;&lt;BR /&gt;Please let me know if I am messing up the code real bad and what is the correct way to proceed.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;C.S.N&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;</description>
      <pubDate>Thu, 10 Mar 2011 04:09:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784981#M1764</guid>
      <dc:creator>csnatarajan</dc:creator>
      <dc:date>2011-03-10T04:09:21Z</dc:date>
    </item>
    <item>
      <title>vsldConvExecX in 2D/3D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784982#M1765</link>
      <description>&lt;P&gt;Pleaserefer the VSL convolution examples provided in the &lt;MKL installation=""&gt;/examples/vslc/source folder.&lt;BR /&gt;&lt;BR /&gt;--Vipin&lt;/MKL&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2011 04:14:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784982#M1765</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2011-03-10T04:14:14Z</dc:date>
    </item>
    <item>
      <title>vsldConvExecX in 2D/3D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784983#M1766</link>
      <description>&lt;P&gt;Hi C.S.N.&lt;BR /&gt;&lt;BR /&gt;// First of allI recommend set &lt;BR /&gt;rank=2; //It's 2D problem&lt;BR /&gt;&lt;BR /&gt;// Also&lt;BR /&gt;sz = sx + sy - 1; //sznot equal to sx or sy; szequal or more then sx + sy - 1&lt;BR /&gt;zstride[1] = sz;&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Victor&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2011 07:53:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784983#M1766</guid>
      <dc:creator>Victor_Gladkikh</dc:creator>
      <dc:date>2011-03-10T07:53:39Z</dc:date>
    </item>
    <item>
      <title>vsldConvExecX in 2D/3D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784984#M1767</link>
      <description>Hello Victor and vipin,&lt;BR /&gt;

 thanks for the response. &lt;BR /&gt;
&lt;BR /&gt;
Vipin, there are no multidimensional example provided! In fact
vslConvExecX is used on a 1d array! &lt;BR /&gt;
&lt;BR /&gt;
Victor, sorry for the spasm! Of course it should be (sx-1) + (sy-1) + 1
and yes thanks for pointing out the rank = 2 and zstride. I changed
them as suggested. The last few pages on the doc I didn't read too thoroughly were very useful! Also had to change to vsldConvNewTaskX from vsldConvNewTask!!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;C.S.N&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Mar 2011 14:04:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/vsldConvExecX-in-2D-3D/m-p/784984#M1767</guid>
      <dc:creator>csnatarajan</dc:creator>
      <dc:date>2011-03-10T14:04:15Z</dc:date>
    </item>
  </channel>
</rss>

