<?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 Re: mkl_sparse_z_create_csr. How to delete matrix handle in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399573#M33391</link>
    <description>&lt;P&gt;Hi Marc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I am posting on priority support.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Could you please confirm if we can close this thread from our end as you are posting this issue on priority support?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 06:36:48 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-07-12T06:36:48Z</dc:date>
    <item>
      <title>mkl_sparse_z_create_csr. How to delete matrix handle</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399025#M33382</link>
      <description>&lt;P&gt;I am fighting with memory leaks in some sparse matrix code. It looks I have some memory leak which is linked to the creation (or non destruction) of a matrix handle. I&amp;nbsp; have some very simple questions. I could not find an answer in the documentation, so I am asking here. Here is the question.&lt;/P&gt;
&lt;P&gt;I am constructing a sparse matrix using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;sparse_matrix_t A;&lt;BR /&gt;&amp;nbsp;sparse_status_t ok=mkl_sparse_z_create_csr (&amp;amp;A,SPARSE_INDEX_BASE_ONE,nRows,nCols,ia,ia+1,ja,z);&lt;/P&gt;
&lt;P&gt;The handle A is generated for the complex array z and the integer arrays ia and ja. I am trying to understand if the data in the arrays is copied in some new arrays or if the handle A refers to the original arrays. If I remember correctly. A refers to the original arrays but I would like to check. My current code keeps the arrays and does not delete them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am also trying to understand what happens when I destroy the matrix using&amp;nbsp; the function&amp;nbsp;&lt;SPAN&gt;mkl_sparse_destroy. Assuming arrays ia,ja and z are referred to by the handle, are these arrays deleted when I use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;mkl_sparse_destroy or do I need to delete them? As you can understand, I am trying to remove memory leaks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for helping.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;H1 class="title"&gt;&amp;nbsp;&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;H1 class="title"&gt;&amp;nbsp;&lt;/H1&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 20:06:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399025#M33382</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2022-07-08T20:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_sparse_z_create_csr. How to delete matrix handle</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399353#M33386</link>
      <description>&lt;P&gt;Hi Marc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;Could you please confirm if you have priority support?&lt;/P&gt;
&lt;P&gt;If yes, we suggest you please post your question on&amp;nbsp;&lt;A href="https://supporttickets.intel.com/?lang=en-US" target="_blank"&gt;https://supporttickets.intel.com/?lang=en-US&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 11:19:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399353#M33386</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-07-11T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_sparse_z_create_csr. How to delete matrix handle</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399507#M33390</link>
      <description>&lt;P&gt;Yes I have priority support. I was thinking this question should interest everybody. Also, I was hoping for a fast response. I used to get very fast responses here. I am posting on priority support.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 22:32:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399507#M33390</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2022-07-11T22:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_sparse_z_create_csr. How to delete matrix handle</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399573#M33391</link>
      <description>&lt;P&gt;Hi Marc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I am posting on priority support.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Could you please confirm if we can close this thread from our end as you are posting this issue on priority support?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 06:36:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399573#M33391</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-07-12T06:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_sparse_z_create_csr. How to delete matrix handle</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399648#M33392</link>
      <description>&lt;P&gt;You can close if you wish as long as I will get a response from support.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:26:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1399648#M33392</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2022-07-12T13:26:45Z</dc:date>
    </item>
    <item>
      <title>Re:mkl_sparse_z_create_csr. How to delete matrix handle</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1400243#M33396</link>
      <description>&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;You can close..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation.&lt;/P&gt;&lt;P&gt;Since you have opened an issue in OSC we are going ahead and closing this issue here considering this as a duplicate query.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2022 07:16:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-z-create-csr-How-to-delete-matrix-handle/m-p/1400243#M33396</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-07-14T07:16:38Z</dc:date>
    </item>
  </channel>
</rss>

