<?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 Compress matrix in CSR Format after matrix multiplication in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compress-matrix-in-CSR-Format-after-matrix-multiplication/m-p/836723#M6096</link>
    <description>Andr,&lt;DIV&gt;please look at themkl_ddnscsr(,,,,,) routine which converts dense to the CSR representations when job(1) == 0.&lt;/DIV&gt;&lt;DIV&gt;will it appropriate for you?&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
    <pubDate>Wed, 18 Aug 2010 07:25:52 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-08-18T07:25:52Z</dc:date>
    <item>
      <title>Compress matrix in CSR Format after matrix multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compress-matrix-in-CSR-Format-after-matrix-multiplication/m-p/836722#M6095</link>
      <description>Hello,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;is there an easy way (or a predefined function) to compress a matrix in CSR format after a matrix multiplication?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have two problems:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;a) I have to set the number of non zero elements in advance, but I don't know the exact number of non zero elements after the matrix multiplication. So I have to assume the worst case, which is alway higher than the real one.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;b) During matrix multiplication there can be zeros introduced, which enlarges my matrix.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The only way I know is, that I can walk through the values array "by hand", delete all zeros and correct all indices in the corresponding index arrays. But that's really exhausting ...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;All the best,&lt;/DIV&gt;&lt;DIV&gt;Andr&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Edit:&lt;/DIV&gt;&lt;DIV&gt;I said nothing. I should read the manual twice: Callmkl_?csrmultcsr first with request=1 and after that with request=2&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Aug 2010 07:10:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compress-matrix-in-CSR-Format-after-matrix-multiplication/m-p/836722#M6095</guid>
      <dc:creator>andrefla</dc:creator>
      <dc:date>2010-08-18T07:10:40Z</dc:date>
    </item>
    <item>
      <title>Compress matrix in CSR Format after matrix multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compress-matrix-in-CSR-Format-after-matrix-multiplication/m-p/836723#M6096</link>
      <description>Andr,&lt;DIV&gt;please look at themkl_ddnscsr(,,,,,) routine which converts dense to the CSR representations when job(1) == 0.&lt;/DIV&gt;&lt;DIV&gt;will it appropriate for you?&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Aug 2010 07:25:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compress-matrix-in-CSR-Format-after-matrix-multiplication/m-p/836723#M6096</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-08-18T07:25:52Z</dc:date>
    </item>
  </channel>
</rss>

