<?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 Const correctness in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165559#M28211</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there a reason the parameters of mkl_sparse_?_create_[b|c]sr are of type C_INT or C_[FLOAT|DOUBLE|FLOAT_COMPLEX|DOUBLE_COMPLEX] instead of const C_INT const or const&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;C_[FLOAT|DOUBLE|FLOAT_COMPLEX|DOUBLE_COMPLEX] const? Do you modify the pointers or the values provided by the user? I currently need to use ugly const_cast because my pointers are of type const T* const. E.g.,&lt;/SPAN&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mkl_sparse_d_create_bsr(&amp;amp;bsr, SPARSE_INDEX_BASE_ONE, SPARSE_LAYOUT_COLUMN_MAJOR, *m, *k,&amp;nbsp;*bs, const_cast&amp;lt;int*&amp;gt;(ia), const_cast&amp;lt;int*&amp;gt;(ia + 1), const_cast&amp;lt;int*&amp;gt;(ja), const_cast&amp;lt;double*&amp;gt;(a));&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Any chance this could get fixed?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2018 13:00:35 GMT</pubDate>
    <dc:creator>asd__asdqwe</dc:creator>
    <dc:date>2018-04-06T13:00:35Z</dc:date>
    <item>
      <title>Const correctness</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165559#M28211</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there a reason the parameters of mkl_sparse_?_create_[b|c]sr are of type C_INT or C_[FLOAT|DOUBLE|FLOAT_COMPLEX|DOUBLE_COMPLEX] instead of const C_INT const or const&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;C_[FLOAT|DOUBLE|FLOAT_COMPLEX|DOUBLE_COMPLEX] const? Do you modify the pointers or the values provided by the user? I currently need to use ugly const_cast because my pointers are of type const T* const. E.g.,&lt;/SPAN&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mkl_sparse_d_create_bsr(&amp;amp;bsr, SPARSE_INDEX_BASE_ONE, SPARSE_LAYOUT_COLUMN_MAJOR, *m, *k,&amp;nbsp;*bs, const_cast&amp;lt;int*&amp;gt;(ia), const_cast&amp;lt;int*&amp;gt;(ia + 1), const_cast&amp;lt;int*&amp;gt;(ja), const_cast&amp;lt;double*&amp;gt;(a));&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Any chance this could get fixed?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:00:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165559#M28211</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2018-04-06T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Yes, we definitely should add</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165560#M28212</link>
      <description>&lt;P&gt;Yes, we&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;definitely should add this.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;we should add const modifier to many others SpBLAS IE API. We will keep you posted with on the progress.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 02:09:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165560#M28212</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-04-07T02:09:32Z</dc:date>
    </item>
    <item>
      <title>The issue has been fixed into</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165561#M28213</link>
      <description>&lt;P&gt;The issue has been fixed into the latest v2020 which was released the last week.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 02:55:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Const-correctness/m-p/1165561#M28213</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-12-17T02:55:34Z</dc:date>
    </item>
  </channel>
</rss>

