<?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 Hi Zhihao, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145116#M26653</link>
    <description>&lt;P&gt;Hi Zhihao,&lt;/P&gt;

&lt;P&gt;Yes, the way that BSR format is currently defined and implemented, the block part of the BSR matrix is a square dense matrix.&amp;nbsp; Typical use cases are 2x2 or 3x3, but in reality it could be any square size.&amp;nbsp; Currently there is not a way to specify a non square block in the BSR matrix format.&amp;nbsp; I am not familiar with any use cases where that would even make sense.&amp;nbsp; Can you describe a little what you are trying to do?&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Spencer&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 15:38:29 GMT</pubDate>
    <dc:creator>Spencer_P_Intel</dc:creator>
    <dc:date>2018-06-25T15:38:29Z</dc:date>
    <item>
      <title>Must the Block in sparse BSR format be Square?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145115#M26652</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I am new to the MKL sparse blas, and want to use BSR as my sparse matrix format.&lt;/P&gt;

&lt;P&gt;I notice that the block_size is specified by an integer. Does this mean the block must be a square matrix?&lt;/P&gt;

&lt;P&gt;Is there a way to specify a non-square block in BSR?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Zhihao&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 03:55:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145115#M26652</guid>
      <dc:creator>cui__zhihao</dc:creator>
      <dc:date>2018-06-25T03:55:45Z</dc:date>
    </item>
    <item>
      <title>Hi Zhihao,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145116#M26653</link>
      <description>&lt;P&gt;Hi Zhihao,&lt;/P&gt;

&lt;P&gt;Yes, the way that BSR format is currently defined and implemented, the block part of the BSR matrix is a square dense matrix.&amp;nbsp; Typical use cases are 2x2 or 3x3, but in reality it could be any square size.&amp;nbsp; Currently there is not a way to specify a non square block in the BSR matrix format.&amp;nbsp; I am not familiar with any use cases where that would even make sense.&amp;nbsp; Can you describe a little what you are trying to do?&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Spencer&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 15:38:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145116#M26653</guid>
      <dc:creator>Spencer_P_Intel</dc:creator>
      <dc:date>2018-06-25T15:38:29Z</dc:date>
    </item>
    <item>
      <title>Quote:Spencer P. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145117#M26654</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Spencer P. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Zhihao,&lt;/P&gt;

&lt;P&gt;Yes, the way that BSR format is currently defined and implemented, the block part of the BSR matrix is a square dense matrix.&amp;nbsp; Typical use cases are 2x2 or 3x3, but in reality it could be any square size.&amp;nbsp; Currently there is not a way to specify a non square block in the BSR matrix format.&amp;nbsp; I am not familiar with any use cases where that would even make sense.&amp;nbsp; Can you describe a little what you are trying to do?&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Spencer&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for your reply, Spencer.&lt;/P&gt;

&lt;P&gt;I am using BSR format as the basic storage format of some Hamiltonian matrix. After some reshaping operations, the matrix can be rectangular, and at that moment, the square block size is not very useful.&lt;/P&gt;

&lt;P&gt;I think it is quite common that the matrix itself is non-square, so that the block size would be quite convenient if they can support non-square shape.&lt;/P&gt;

&lt;P&gt;See the Scipy's implementation of BSR, it does support the non-square shape of block, but I would like to use similar things in MKL, as it is more efficient ^^&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.sparse.bsr_matrix.html" target="_blank"&gt;https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.sparse.bsr_matrix.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Zhihao&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:45:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1145117#M26654</guid>
      <dc:creator>cui__zhihao</dc:creator>
      <dc:date>2018-06-25T17:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Zhihao,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1223156#M30233</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/96895"&gt;@Spencer_P_Intel&lt;/a&gt;&amp;nbsp;It is indeed possible to have non-square block sizes. Is there any way we can make a formal request to the Intel MKL developer team to support non-square blocks?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 06:25:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1223156#M30233</guid>
      <dc:creator>Connor_Wong</dc:creator>
      <dc:date>2020-10-27T06:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Zhihao,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1223311#M30246</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;Such a request already exists but is not a small thing to add.&amp;nbsp;&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 the official request so that you will be added to the group of customers who requested it.&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Kirill&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:27:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Must-the-Block-in-sparse-BSR-format-be-Square/m-p/1223311#M30246</guid>
      <dc:creator>Kirill_V_Intel</dc:creator>
      <dc:date>2020-10-27T16:27:49Z</dc:date>
    </item>
  </channel>
</rss>

