<?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 Hello, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186664#M29628</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I think there is nothing you can do about it. The goal of the optimize routines is to improve performance&amp;nbsp;with the costs (often) being paid in additional memory.&lt;/P&gt;&lt;P&gt;Intel MKL tries to do its best when running spmv without additional memory, but for the best performance, we need additional memory for some internal data representations. So it is expected that the memory footprint will increase when you do optimize for spmv with the default&amp;nbsp; (SPARSE_MEMORY_AGGRESSIVE) memory policy.&lt;/P&gt;&lt;P&gt;For some workloads (I guess, yours included), there is not much to be gained without&amp;nbsp;using a more efficient data representation and hence it&amp;nbsp;can happen that&amp;nbsp;no performance improvemement is there to be observed&amp;nbsp;with optimize + SPARSE_MEMORY_NONE hint in comparison to plain spmv call without optimize.&lt;/P&gt;&lt;P&gt;If you have an important application where performance bottleneck is in spmv and you need better performance, you can submit a FR in the customer support center (then we'll need more details).&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Kirill&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 16:50:30 GMT</pubDate>
    <dc:creator>Kirill_V_Intel</dc:creator>
    <dc:date>2020-06-22T16:50:30Z</dc:date>
    <item>
      <title>SPARSE_MEMORY_AGGRESSIVE</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186659#M29623</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Iam using&amp;nbsp;SPARSE_MEMORY_AGGRESIVE which is default in&amp;nbsp;mkl_sparse_set_memory_hint. But with this the memory utilization is 75% more than without it. If I use this I see a performance beneifit with penalty in the memory consumption.&lt;/P&gt;&lt;P&gt;Iam using this for a SPMV operation here is the sequence:&lt;/P&gt;&lt;P&gt;mkl_sparse_d_create_csr&lt;/P&gt;&lt;P&gt;mkl_sparse_set_memory_hint&lt;/P&gt;&lt;P&gt;mkl_sparse_set_mv_hint&lt;/P&gt;&lt;P&gt;mkl_sparse_optimize&lt;/P&gt;&lt;P&gt;Could you please help me to resolve the memory consumption issue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 16:41:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186659#M29623</guid>
      <dc:creator>STK00</dc:creator>
      <dc:date>2020-06-21T16:41:36Z</dc:date>
    </item>
    <item>
      <title>Do you expect to see the same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186660#M29624</link>
      <description>&lt;P&gt;Do you expect to see the same performance but with the memory consumption which will be&amp;nbsp;is proportional to vector size?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 03:34:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186660#M29624</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-22T03:34:31Z</dc:date>
    </item>
    <item>
      <title>Yes. Is this possible.  How</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186661#M29625</link>
      <description>&lt;P&gt;Yes. Is this possible.&amp;nbsp; How do I reduce the memory consumption.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 03:41:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186661#M29625</guid>
      <dc:creator>STK00</dc:creator>
      <dc:date>2020-06-22T03:41:31Z</dc:date>
    </item>
    <item>
      <title>Did you try to set the memory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186662#M29626</link>
      <description>&lt;P&gt;Did you try to set the memory evaluation SPARSE_MEMORY_NONE policy? Did you accept the performance of this policy?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 09:23:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186662#M29626</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-22T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Yes. I had tried with SPARSE</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186663#M29627</link>
      <description>&lt;P&gt;Yes. I had tried with SPARSE_MEMORY_NONE. This reduces the memory, but no performance gain. That is the performance is similar&amp;nbsp;to the run without using this optimized Intel MKL call&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 10:02:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186663#M29627</guid>
      <dc:creator>STK00</dc:creator>
      <dc:date>2020-06-22T10:02:08Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186664#M29628</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I think there is nothing you can do about it. The goal of the optimize routines is to improve performance&amp;nbsp;with the costs (often) being paid in additional memory.&lt;/P&gt;&lt;P&gt;Intel MKL tries to do its best when running spmv without additional memory, but for the best performance, we need additional memory for some internal data representations. So it is expected that the memory footprint will increase when you do optimize for spmv with the default&amp;nbsp; (SPARSE_MEMORY_AGGRESSIVE) memory policy.&lt;/P&gt;&lt;P&gt;For some workloads (I guess, yours included), there is not much to be gained without&amp;nbsp;using a more efficient data representation and hence it&amp;nbsp;can happen that&amp;nbsp;no performance improvemement is there to be observed&amp;nbsp;with optimize + SPARSE_MEMORY_NONE hint in comparison to plain spmv call without optimize.&lt;/P&gt;&lt;P&gt;If you have an important application where performance bottleneck is in spmv and you need better performance, you can submit a FR in the customer support center (then we'll need more details).&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Kirill&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:50:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SPARSE-MEMORY-AGGRESSIVE/m-p/1186664#M29628</guid>
      <dc:creator>Kirill_V_Intel</dc:creator>
      <dc:date>2020-06-22T16:50:30Z</dc:date>
    </item>
  </channel>
</rss>

