<?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: problem about cblas_sgemv in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-about-cblas-sgemv/m-p/938872#M14340</link>
    <description>cblas_sgemv(CblasColMajor,CblasNoTrans,2,3,1.0f,A,??1??,B,1,0.0f,Y,1);&lt;BR /&gt;&lt;BR /&gt;cblas_sgemv() is defined as,&lt;BR /&gt;void cblas_sgemv(const CBLAS_ORDER order,&lt;BR /&gt;const CBLAS_TRANSPOSE TransA, const int M, const int N,&lt;BR /&gt;const float alpha, const float *A, const int lda,&lt;BR /&gt;const float *X, const int incX, const float beta,&lt;BR /&gt;float *Y, const int incY);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The value of lda must be at least max(1, m)!&lt;BR /&gt;&lt;BR /&gt;what is your lda? lda=1?&lt;BR /&gt;&lt;BR /&gt;try it:&lt;BR /&gt;&lt;BR /&gt;int m=2,n=3,lda=2,inc=1;&lt;BR /&gt;float f0=1.0,f1=0.0;&lt;BR /&gt;&lt;BR /&gt;cblas_sgemv(CblasColMajor,CblasNoTrans, m,n,f0,A,lda,B,inc,f1,Y,inc);</description>
    <pubDate>Wed, 29 Mar 2006 22:21:46 GMT</pubDate>
    <dc:creator>ttppo</dc:creator>
    <dc:date>2006-03-29T22:21:46Z</dc:date>
    <item>
      <title>problem about cblas_sgemv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-about-cblas-sgemv/m-p/938871#M14339</link>
      <description>&lt;DIV&gt;Hi, I am a beginner to MKL.&lt;/DIV&gt;&lt;DIV&gt;I made a test about the library.&lt;/DIV&gt;&lt;DIV&gt;My IDE is VC++.net, and MKL is 8.0.1&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Here is my test code:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;float A[ ] ={1,21,3,4,5,6};&lt;BR /&gt;float B[ ] ={2,-1,1,3,4};&lt;BR /&gt;float Y[5]={0};&lt;BR /&gt;cblas_sgemv(CblasColMajor,CblasNoTrans,2,3,1.0f,A,1,B,1,0.0f,Y,1);&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But the result is unexperted, I don't know why.&lt;/DIV&gt;</description>
      <pubDate>Sat, 25 Mar 2006 16:44:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-about-cblas-sgemv/m-p/938871#M14339</guid>
      <dc:creator>shuchang_wang</dc:creator>
      <dc:date>2006-03-25T16:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem about cblas_sgemv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-about-cblas-sgemv/m-p/938872#M14340</link>
      <description>cblas_sgemv(CblasColMajor,CblasNoTrans,2,3,1.0f,A,??1??,B,1,0.0f,Y,1);&lt;BR /&gt;&lt;BR /&gt;cblas_sgemv() is defined as,&lt;BR /&gt;void cblas_sgemv(const CBLAS_ORDER order,&lt;BR /&gt;const CBLAS_TRANSPOSE TransA, const int M, const int N,&lt;BR /&gt;const float alpha, const float *A, const int lda,&lt;BR /&gt;const float *X, const int incX, const float beta,&lt;BR /&gt;float *Y, const int incY);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The value of lda must be at least max(1, m)!&lt;BR /&gt;&lt;BR /&gt;what is your lda? lda=1?&lt;BR /&gt;&lt;BR /&gt;try it:&lt;BR /&gt;&lt;BR /&gt;int m=2,n=3,lda=2,inc=1;&lt;BR /&gt;float f0=1.0,f1=0.0;&lt;BR /&gt;&lt;BR /&gt;cblas_sgemv(CblasColMajor,CblasNoTrans, m,n,f0,A,lda,B,inc,f1,Y,inc);</description>
      <pubDate>Wed, 29 Mar 2006 22:21:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-about-cblas-sgemv/m-p/938872#M14340</guid>
      <dc:creator>ttppo</dc:creator>
      <dc:date>2006-03-29T22:21:46Z</dc:date>
    </item>
  </channel>
</rss>

