<?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: Selective row/column to use for mat-mat and mat-vec multipl in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900899#M11209</link>
    <description>&lt;BR /&gt;
&lt;P&gt;This is not actually needed.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2009 04:35:28 GMT</pubDate>
    <dc:creator>Victor_Gladkikh</dc:creator>
    <dc:date>2009-02-20T04:35:28Z</dc:date>
    <item>
      <title>Selective row/column to use for mat-mat and mat-vec multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900896#M11206</link>
      <description>Sorry to double-post in advance. I initially posted at &lt;A href="http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&amp;amp;t=892" target="_blank"&gt;http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&amp;amp;t=892&lt;/A&gt; to ask about my question in the link. However, as I'm aware that there are probably more people using Intel or AMD math calculation tools when working with matrices, which includes Lapack, BLAS, and Sparse BLAS, I think I would have much better luck on asking for opinions here. It would be great if you have any tips on if there's a library function available for performing mat-mat, row-col, and mat-vec calculations while being able to select which rows/columns to multiply. The matrix is not densely sparse. It's more so randomly sparse along the matrix diagonal.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 19:17:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900896#M11206</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-18T19:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Selective row/column to use for mat-mat and mat-vec multipl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900897#M11207</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/411672"&gt;ssylee&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Sorry to double-post in advance. I initially posted at &lt;A href="http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&amp;amp;t=892" target="_blank"&gt;http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&amp;amp;t=892&lt;/A&gt; to ask about my question in the link. However, as I'm aware that there are probably more people using Intel or AMD math calculation tools when working with matrices, which includes Lapack, BLAS, and Sparse BLAS, I think I would have much better luck on asking for opinions here. It would be great if you have any tips on if there's a library function available for performing mat-mat, row-col, and mat-vec calculations while being able to select which rows/columns to multiply. The matrix is not densely sparse. It's more so randomly sparse along the matrix diagonal.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;MKL BLAS level1 and MKL Sparse BLAS level 1 contain functions for vector-vector operations.&lt;/P&gt;
&lt;P&gt;These routines can be used for performing multiplication of selected row of one matrix and a column of other matrix.&lt;/P&gt;
&lt;P&gt;1.Dot product the i-th row of dense matrix A (m by n matrix stored in 2 dimensional FORTRAN array) and the j-th column of dense matrix B (n by n) can be computed with the help of "?dot" routine from BLAS level 1.&lt;/P&gt;
&lt;P&gt; &lt;STRONG&gt;res&lt;/STRONG&gt; = &lt;STRONG&gt;ddot(n, a(i, 1), m, b(1,j), 1) &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2.Dot product the i-th row of sparse matrix A (m by n matrix stored in the CSR matrix format) and the j-th column of dense matrix B (n by n) can be computed with the help of "?doti" routine from Sparse BLAS level 1.&lt;/P&gt;
&lt;P&gt; &lt;STRONG&gt;res = ddoti( pointere(i)-pointerb(i), values(pointerb(i)), columns(pointerb(i)), b(1,j)) &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;See MKL Reference Manual for more details. &lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2009 10:11:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900897#M11207</guid>
      <dc:creator>Victor_Gladkikh</dc:creator>
      <dc:date>2009-02-19T10:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selective row/column to use for mat-mat and mat-vec multipl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900898#M11208</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/415602"&gt;Victor Gladkikh (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;MKL BLAS level1 and MKL Sparse BLAS level 1 contain functions for vector-vector operations.&lt;/P&gt;
&lt;P&gt;These routines can be used for performing multiplication of selected row of one matrix and a column of other matrix.&lt;/P&gt;
&lt;P&gt;1.Dot product the i-th row of dense matrix A (m by n matrix stored in 2 dimensional FORTRAN array) and the j-th column of dense matrix B (n by n) can be computed with the help of "?dot" routine from BLAS level 1.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;res&lt;/STRONG&gt; = &lt;STRONG&gt;ddot(n, a(i, 1), m, b(1,j), 1) &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2.Dot product the i-th row of sparse matrix A (m by n matrix stored in the CSR matrix format) and the j-th column of dense matrix B (n by n) can be computed with the help of "?doti" routine from Sparse BLAS level 1.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;res = ddoti( pointere(i)-pointerb(i), values(pointerb(i)), columns(pointerb(i)), b(1,j)) &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;See MKL Reference Manual for more details.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Would I need to extract a(i, 1) or b(1, j) in a vector manually first before calling the dot product function?&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 23:30:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900898#M11208</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-19T23:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Selective row/column to use for mat-mat and mat-vec multipl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900899#M11209</link>
      <description>&lt;BR /&gt;
&lt;P&gt;This is not actually needed.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2009 04:35:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900899#M11209</guid>
      <dc:creator>Victor_Gladkikh</dc:creator>
      <dc:date>2009-02-20T04:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selective row/column to use for mat-mat and mat-vec multipl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900900#M11210</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/411672"&gt;ssylee&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Would I need to extract a(i, 1) or b(1, j) in a vector manually first before calling the dot product function?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
It seems that a Fortran dot_product would be appropriate.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2009 05:57:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Selective-row-column-to-use-for-mat-mat-and-mat-vec/m-p/900900#M11210</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-02-20T05:57:06Z</dc:date>
    </item>
  </channel>
</rss>

