<?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 Max, all is ok with your code in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-inspector-executor-mkl-sparse-optimize-returns-SPARSE-STATUS/m-p/1056591#M21452</link>
    <description>&lt;P&gt;Max, all is ok with your code. the problem is not all optimizations are implemented into the current version. We will improve that into one of the future updates. thanks, Gennady&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2015 17:00:25 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2015-11-11T17:00:25Z</dc:date>
    <item>
      <title>MKL inspector-executor mkl_sparse_optimize returns SPARSE_STATUS_NOT_SUPPORTED</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-inspector-executor-mkl-sparse-optimize-returns-SPARSE-STATUS/m-p/1056590#M21451</link>
      <description>&lt;P&gt;I'm trying to get a test program working with the MKL inspector-executor framework, but I'm getting the rather opaque error code SPARSE_STATUS_NOT_SUPPORTED from mkl_sparse_optimize and it isn't clear what I'm doing wrong. I was hoping I could get some help. Below is a snippet of my code:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;71             sparse_matrix_t mkl_ie_csr;
72             CHECK_IE(mkl_sparse_d_create_csr(&amp;amp;mkl_ie_csr,
73                     SPARSE_INDEX_BASE_ZERO, mkl_csr.m, mkl_csr.n,
74                     mkl_csr.row_pointers, rows_end, mkl_csr.columns,
75                     mkl_csr.values));
76
77             struct matrix_descr descr;
78             descr.type = SPARSE_MATRIX_TYPE_GENERAL;
79             descr.mode = SPARSE_FILL_MODE_LOWER;
80             descr.diag = SPARSE_DIAG_NON_UNIT;
81             // May return 6 (SPARSE_STATUS_NOT_SUPPORTED) if repeats == 1
82             CHECK_IE(mkl_sparse_set_mv_hint(mkl_ie_csr,
83                     SPARSE_OPERATION_NON_TRANSPOSE, descr,
84                     repeats));
85             CHECK_IE(mkl_sparse_set_memory_hint(mkl_ie_csr,
86                         SPARSE_MEMORY_AGGRESSIVE));
87             CHECK_IE(mkl_sparse_optimize(mkl_ie_csr));
88             for (r = 0; r &amp;lt; repeats; r++) {
89                status = mkl_sparse_d_mv(SPARSE_OPERATION_NON_TRANSPOSE, 1.0,
90                        &amp;amp;mkl_ie_csr, SPARSE_MATRIX_TYPE_DIAGONAL, x, 1.0, y); 
91                assert(status == SPARSE_STATUS_SUCCESS);
92             }&lt;/PRE&gt;

&lt;P&gt;CHECK_IE is just a macro that verifies SPARSE_STATUS_SUCCESS, and exits otherwise.&lt;/P&gt;

&lt;P&gt;When I run this example, I get the error on line 87 after calling mkl_sparse_optimize. Now, if I remove the call to mkl_sparse_optimize everything runs and validates against my reference data so it seems like this is mostly correct. I just don't have any understanding of what specific misconfigurations could be causing an unsupported error to be returned from mkl_sparse_optimize. Can I get any clarification on that?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 03:37:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-inspector-executor-mkl-sparse-optimize-returns-SPARSE-STATUS/m-p/1056590#M21451</guid>
      <dc:creator>Max_G_2</dc:creator>
      <dc:date>2015-11-11T03:37:07Z</dc:date>
    </item>
    <item>
      <title>Max, all is ok with your code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-inspector-executor-mkl-sparse-optimize-returns-SPARSE-STATUS/m-p/1056591#M21452</link>
      <description>&lt;P&gt;Max, all is ok with your code. the problem is not all optimizations are implemented into the current version. We will improve that into one of the future updates. thanks, Gennady&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 17:00:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-inspector-executor-mkl-sparse-optimize-returns-SPARSE-STATUS/m-p/1056591#M21452</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-11-11T17:00:25Z</dc:date>
    </item>
  </channel>
</rss>

