<?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 Roman,  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099020#M23746</link>
    <description>&lt;P&gt;Hi Roman,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the question. I can see the same result (nnz) as you mentioned. There&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;are some typo in the mkl manual &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;like&amp;nbsp;&lt;/P&gt;

&lt;P&gt;j&lt;STRONG&gt;ob(5)&amp;nbsp;&amp;nbsp; --&amp;gt; job[4]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;job[4]=nzmax- maximum number of the non-zero elements allowed if job[0]=0.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;job[4]=nnz- sets number of the non-zero elements of the matrix A if job[0]=1 &amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;and &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;it seems&lt;/SPAN&gt;&amp;nbsp;there are two parameters to control the nnz parameters, so some design issue here.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;We will check with our developer and get back soon.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2015 01:21:19 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2015-12-09T01:21:19Z</dc:date>
    <item>
      <title>mkl_?csrcoo -- description of parameter nnz</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099019#M23745</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;is the description of parameter nnz in function mkl_?csrcoo correct?&lt;/P&gt;

&lt;P&gt;The manual states that nnz is an output parameter specifying the number of non-zero elements in matrix A. However, I feel like nnz is an &lt;STRONG&gt;input&lt;/STRONG&gt; parameter.&lt;/P&gt;

&lt;P&gt;A minimal example (conversion of a unit matrix of size 10 from COO to CSR format in C++) only works if I define nnz = 10 before calling the function. If I set, say, nnz = 5, then only the first 5 elements are set in the CSR arrays.&lt;/P&gt;

&lt;P&gt;Could someone check or disprove that?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2015 17:15:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099019#M23745</guid>
      <dc:creator>Roman_F_</dc:creator>
      <dc:date>2015-12-07T17:15:58Z</dc:date>
    </item>
    <item>
      <title>Hi Roman, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099020#M23746</link>
      <description>&lt;P&gt;Hi Roman,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the question. I can see the same result (nnz) as you mentioned. There&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;are some typo in the mkl manual &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;like&amp;nbsp;&lt;/P&gt;

&lt;P&gt;j&lt;STRONG&gt;ob(5)&amp;nbsp;&amp;nbsp; --&amp;gt; job[4]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;job[4]=nzmax- maximum number of the non-zero elements allowed if job[0]=0.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;job[4]=nnz- sets number of the non-zero elements of the matrix A if job[0]=1 &amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;and &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;it seems&lt;/SPAN&gt;&amp;nbsp;there are two parameters to control the nnz parameters, so some design issue here.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;We will check with our developer and get back soon.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 01:21:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099020#M23746</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-12-09T01:21:19Z</dc:date>
    </item>
    <item>
      <title>Hi Roman, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099021#M23747</link>
      <description>&lt;P&gt;Hi Roman,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;We confirmed there is old issue that we use internally both job[4] and nnz to set number of nonzero elements. we will consider what solution will be the best and remove one of the parameter from input list. Current recommendation to set nnz=job[4] = number of nonzero elements in coordinate format.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
	Ying&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 01:27:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099021#M23747</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-12-15T01:27:28Z</dc:date>
    </item>
    <item>
      <title>Dear All,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099022#M23748</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;

&lt;P&gt;Just update the thread,&amp;nbsp; we fix the related issue in later version. for example, &amp;nbsp;the latest version MKL 2017 update 1 have below description:&lt;/P&gt;

&lt;DL&gt;
	&lt;DT class="dlterm"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;&lt;/DT&gt;
	&lt;DD&gt;
		&lt;P&gt;Array, contains the following conversion parameters:&lt;/P&gt;

		&lt;P class="bold"&gt;&lt;SAMP class="codeph"&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;[0]&lt;/FONT&gt;&lt;/SAMP&gt;&lt;/P&gt;

		&lt;P&gt;If &lt;SAMP class="codeph"&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;[0]=0&lt;/FONT&gt;&lt;/SAMP&gt;, the matrix in the CSR format is converted to the coordinate format;&lt;/P&gt;

		&lt;P&gt;if &lt;SAMP class="codeph"&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;[0]=1&lt;/FONT&gt;&lt;/SAMP&gt;, the matrix in the coordinate format is converted to the CSR format.&lt;/P&gt;

		&lt;P&gt;if &lt;SAMP class="codeph"&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;[0]=2&lt;/FONT&gt;&lt;/SAMP&gt;, the matrix in the coordinate format is converted to the CSR format, and the column indices in CSR representation are sorted in the increasing order within each row.&lt;/P&gt;

		&lt;P&gt;&amp;nbsp;&lt;/P&gt;

		&lt;P&gt;&amp;nbsp;&lt;/P&gt;
	&lt;/DD&gt;
	&lt;DT class="dlterm"&gt;&lt;SPAN class="parmname"&gt;nnz&lt;/SPAN&gt;&lt;/DT&gt;
	&lt;DD&gt;
		&lt;P&gt;Specifies the number of non-zero elements of the matrix &lt;VAR&gt;A&lt;/VAR&gt; for &lt;SAMP class="codeph"&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;[0]&lt;SPAN class="eqsymbol"&gt;≠&lt;/SPAN&gt;0&lt;/FONT&gt;&lt;/SAMP&gt;.&lt;/P&gt;

		&lt;P&gt;Refer to &lt;SPAN class="parmname"&gt;nnz&lt;/SPAN&gt; description in &lt;A class="allformats"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;Coordinate Format&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; for more details.&lt;/P&gt;

		&lt;P&gt;&amp;nbsp;&lt;/P&gt;

		&lt;H2&gt;Output Parameters&lt;/H2&gt;
	&lt;/DD&gt;
	&lt;DT class="dlterm"&gt;&lt;SPAN class="parmname"&gt;nnz&lt;/SPAN&gt;&lt;/DT&gt;
	&lt;DD&gt;
		&lt;P&gt;Returns the number of converted elements of the matrix &lt;VAR&gt;A&lt;/VAR&gt; for &lt;SAMP class="codeph"&gt;&lt;FONT face="Courier New"&gt;&lt;SPAN class="parmname"&gt;job&lt;/SPAN&gt;[0]=0&lt;/FONT&gt;&lt;/SAMP&gt;.&lt;/P&gt;

		&lt;P&gt;&amp;nbsp;&lt;/P&gt;

		&lt;P&gt;Best Regards&lt;/P&gt;

		&lt;P&gt;Ying&lt;/P&gt;
	&lt;/DD&gt;
&lt;/DL&gt;</description>
      <pubDate>Mon, 14 Nov 2016 03:02:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csrcoo-description-of-parameter-nnz/m-p/1099022#M23748</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-11-14T03:02:56Z</dc:date>
    </item>
  </channel>
</rss>

