<?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 After mkl_sparse_optimize, BSR data array cannot be updated correctly in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1223271#M30243</link>
    <description>&lt;P&gt;For BSR storage format, we are passing rows_start, rows_end, col_index and values. I realized that without using&amp;nbsp;mkl_sparse_optimize, I could update the values array (in-place update), and re-use the sparse matrix handler to produce correct results. If I use&amp;nbsp;mkl_sparse_optimize on the handler, even if I update the values array in-place, the final spmv results is wrong.&lt;/P&gt;
&lt;P&gt;Is this the correct way to update the values array? It seems to work correctly if&amp;nbsp;mkl_sparse_optimize was not performed.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 14:20:16 GMT</pubDate>
    <dc:creator>Connor_Wong</dc:creator>
    <dc:date>2020-10-27T14:20:16Z</dc:date>
    <item>
      <title>After mkl_sparse_optimize, BSR data array cannot be updated correctly</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1223271#M30243</link>
      <description>&lt;P&gt;For BSR storage format, we are passing rows_start, rows_end, col_index and values. I realized that without using&amp;nbsp;mkl_sparse_optimize, I could update the values array (in-place update), and re-use the sparse matrix handler to produce correct results. If I use&amp;nbsp;mkl_sparse_optimize on the handler, even if I update the values array in-place, the final spmv results is wrong.&lt;/P&gt;
&lt;P&gt;Is this the correct way to update the values array? It seems to work correctly if&amp;nbsp;mkl_sparse_optimize was not performed.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 14:20:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1223271#M30243</guid>
      <dc:creator>Connor_Wong</dc:creator>
      <dc:date>2020-10-27T14:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: After mkl_sparse_optimize, BSR data array cannot be updated correctly</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1223321#M30248</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/135289"&gt;@Connor_Wong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What you have observed is currently&amp;nbsp;expected behavior. Sparse matrix handle in IE SpBLAS is sort of a black box and has some internal data structures (created during the optimize call) so changing the raw data you used for creating the handle does not work in most cases.&lt;/P&gt;
&lt;P&gt;We have&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/mkl-developer-reference-c/top/blas-and-sparse-blas-routines/inspector-executor-sparse-blas-routines/matrix-manipulation-routines/mkl-sparse-update-values.html&amp;nbsp;" target="_self"&gt;mkl_sparse_update_values&lt;/A&gt;&amp;nbsp;&amp;nbsp;which is the API you could potentially use in case of with optimize call and without. Currently it works only for limited functionality but you would use this API, please submit a request for us to extend this functionality (and add more details - whether you need to update all values or part of them, and possibly which IE SpBLAS routines you are currently using with BSR format).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/41889"&gt;@Gennady_F_Intel&lt;/a&gt;&amp;nbsp;can help you with submitting the request.&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Kirill&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:54:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1223321#M30248</guid>
      <dc:creator>Kirill_V_Intel</dc:creator>
      <dc:date>2020-10-27T16:54:36Z</dc:date>
    </item>
    <item>
      <title>Re:After mkl_sparse_optimize, BSR data array cannot be updated correctly</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1225034#M30279</link>
      <description>&lt;P&gt;Conor, yes&amp;nbsp;currently it works only for limited functionality.&lt;/P&gt;&lt;P&gt;Our recommendation to submit the Feature Request to the Intel Online Service Center &lt;SPAN style="background-color: var(--lwc-colorBackgroundInput,rgb(255, 255, 255)); color: var(--lwc-colorTextWeak,rgb(62, 62, 60)); font-size: var(--lwc-fontSize3,0.8125rem); font-family: var(--lwc-fontFamily,&amp;quot;Salesforce Sans&amp;quot;, Arial, sans-serif);"&gt;which is the official supporting channel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: var(--lwc-fontSize3,0.8125rem); font-family: var(--lwc-fontFamily,&amp;quot;Salesforce Sans&amp;quot;, Arial, sans-serif);"&gt;The current thread is closing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ql-cursor"&gt;﻿&lt;/SPAN&gt;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2020 12:37:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/After-mkl-sparse-optimize-BSR-data-array-cannot-be-updated/m-p/1225034#M30279</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-11-03T12:37:42Z</dc:date>
    </item>
  </channel>
</rss>

