<?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 Thanks Dmitry. I am in doubt in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986313#M17784</link>
    <description>&lt;P&gt;Thanks Dmitry. I am in doubt now. Can I use mkl_?imatcopy on a matrix block? If not, I can only think of &lt;STRONG&gt;lda&lt;/STRONG&gt; being always &lt;STRONG&gt;cols&lt;/STRONG&gt;&amp;nbsp;(row major order). Also, for a MxN matrix with &lt;EM&gt;lda = N&lt;/EM&gt;, what would be ldb? M?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2013 12:54:29 GMT</pubDate>
    <dc:creator>Allan_L_</dc:creator>
    <dc:date>2013-08-29T12:54:29Z</dc:date>
    <item>
      <title>Help using mkl_?imatcopy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986311#M17782</link>
      <description>&lt;P&gt;The mkl_?imatcopy functions require an extra leading dimension parameter, called ldb. &lt;BR /&gt;From the documentation, I am not sure what value it should be used for this parameter. As an answer, I would like that the following case be considered:&lt;/P&gt;
&lt;P&gt;A = (lda = 7 for row-major)&lt;BR /&gt;[x x x x x x x]&lt;BR /&gt;[x x a b c x x]&lt;BR /&gt;[x x d e f x x]&lt;BR /&gt;[x x x x x x x]&lt;/P&gt;
&lt;P&gt;Transposed = &lt;BR /&gt;[x x x x x x x]&lt;BR /&gt;[x x a d b x x]&lt;BR /&gt;[x x e c f x x]&lt;BR /&gt;[x x x x x x x]&lt;/P&gt;
&lt;P&gt;What value for ldb should be used in&amp;nbsp;mkl_?imatcopy?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 12:11:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986311#M17782</guid>
      <dc:creator>Allan_L_</dc:creator>
      <dc:date>2013-08-29T12:11:21Z</dc:date>
    </item>
    <item>
      <title>You cannot do this with mkl_</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986312#M17783</link>
      <description>&lt;P&gt;You cannot do this with mkl_?imatcopy, because elements b and e are not adjacent in the result - this permutation is not a transposition.&lt;/P&gt;
&lt;P&gt;parameter ldb is the output stride. When you transpose M-by-N matrix you mean your input(m,n) is located at input[m*LDA+n] and your output(n,m) is located at output[n*LDB+m]&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Dima&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 12:34:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986312#M17783</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2013-08-29T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Thanks Dmitry. I am in doubt</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986313#M17784</link>
      <description>&lt;P&gt;Thanks Dmitry. I am in doubt now. Can I use mkl_?imatcopy on a matrix block? If not, I can only think of &lt;STRONG&gt;lda&lt;/STRONG&gt; being always &lt;STRONG&gt;cols&lt;/STRONG&gt;&amp;nbsp;(row major order). Also, for a MxN matrix with &lt;EM&gt;lda = N&lt;/EM&gt;, what would be ldb? M?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 12:54:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986313#M17784</guid>
      <dc:creator>Allan_L_</dc:creator>
      <dc:date>2013-08-29T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Allan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986314#M17785</link>
      <description>Allan,

one of the most popular imatcopy usage is imatcopy('R','T',rows,cols,1.,A,cols,rows). That is exactly what you ask about transpose entire MxN matrix (i.e. ldb=cols).

But if you want to transpose a sub-block in a matrix you have to specify ldb slightly different. For example imatcopy('R', 'T', 2, 2, 1., A+6+2, 6, 6) converts
A =
[ x x x x x x ]
[ x x a b x x ]
[ x x c d x x ]
[ ... ]
to
A` =
[ x x x x x x ]
[ x x a c x x ]
[ x x b d x x ]
[ ... ]</description>
      <pubDate>Thu, 29 Aug 2013 18:31:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986314#M17785</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2013-08-29T18:31:09Z</dc:date>
    </item>
    <item>
      <title>Thanks Evarist. Is there a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986315#M17786</link>
      <description>&lt;P&gt;Thanks Evarist. Is there a scenario where &lt;STRONG&gt;ldb&lt;/STRONG&gt; is different from &lt;STRONG&gt;lda&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 19:01:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-using-mkl-imatcopy/m-p/986315#M17786</guid>
      <dc:creator>Allan_L_</dc:creator>
      <dc:date>2013-08-29T19:01:32Z</dc:date>
    </item>
  </channel>
</rss>

