<?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 A question on syntax of ?gemm. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-question-on-syntax-of-gemm/m-p/901217#M11269</link>
    <description>&lt;P&gt;Hi, eveyone. I have a simple question on the syntax of ?gemm.&lt;/P&gt;
&lt;P&gt;In Intel MKL Reference Manual, the syntax of dgemm is&lt;/P&gt;
&lt;P&gt;dgemm(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)&lt;/P&gt;
&lt;P&gt;The parameter description of beta is "When beta is equal to zero, then c need not be set on input". I just don't quite understand the meaning of "c need not be set on input". If I merely want to do a matrix multiplication, say c=matmul(a,b). According to the description of ?gemm, c:=alpha*op(a)*op(b)+beta*c, I set beta equal zero. I expect the result should be c:=alpha*op(a)*op(b), however, what I get is c equals zero! So, what's the problem? What's the meaning of "c need not be set on input"?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2010 07:50:07 GMT</pubDate>
    <dc:creator>woshiwuxin</dc:creator>
    <dc:date>2010-02-05T07:50:07Z</dc:date>
    <item>
      <title>A question on syntax of ?gemm.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-question-on-syntax-of-gemm/m-p/901217#M11269</link>
      <description>&lt;P&gt;Hi, eveyone. I have a simple question on the syntax of ?gemm.&lt;/P&gt;
&lt;P&gt;In Intel MKL Reference Manual, the syntax of dgemm is&lt;/P&gt;
&lt;P&gt;dgemm(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)&lt;/P&gt;
&lt;P&gt;The parameter description of beta is "When beta is equal to zero, then c need not be set on input". I just don't quite understand the meaning of "c need not be set on input". If I merely want to do a matrix multiplication, say c=matmul(a,b). According to the description of ?gemm, c:=alpha*op(a)*op(b)+beta*c, I set beta equal zero. I expect the result should be c:=alpha*op(a)*op(b), however, what I get is c equals zero! So, what's the problem? What's the meaning of "c need not be set on input"?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 07:50:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-question-on-syntax-of-gemm/m-p/901217#M11269</guid>
      <dc:creator>woshiwuxin</dc:creator>
      <dc:date>2010-02-05T07:50:07Z</dc:date>
    </item>
    <item>
      <title>A question on syntax of ?gemm.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-question-on-syntax-of-gemm/m-p/901218#M11270</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In case if beta is equal to zero matrix c will not be as input matrix and therefore c:=alpha*op(a)*op(b).&lt;/P&gt;
&lt;P&gt;But if c matrix is set with all rezos on input and beta is not equal to zero then the result will be the samebut withjust worseperformance.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 08:01:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-question-on-syntax-of-gemm/m-p/901218#M11270</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-02-05T08:01:14Z</dc:date>
    </item>
  </channel>
</rss>

