<?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 How to use Sparse BLAS Inspector-executor hints in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1233653#M30409</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am interested in learning more about the purpose and usage of the Sparse BLAS hint routines such as &lt;STRONG&gt;mkl_sparse_set_mv_hint.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I am working on the numerical solution of a partial differential equation (PDE). Upon performing the spatial and temporal discretization I recover a system of ODE's which can be marched in time using a sparse matrix-vector product with `mkl_sparse_?_mv`. If I am using a Runge-Kutta method in the spatial discretizations, then I perform 4 multiplications in one time-step interlaced with some other algebraic operations. Are the hint routines useful in this case? Or are they only meant for situations where I plan to perform many iterations (N &amp;gt;&amp;gt; 1) on the same operands (e.g. in a sparse iterative solver between convergence checks)?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Ivan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 21:24:03 GMT</pubDate>
    <dc:creator>ivanpribec</dc:creator>
    <dc:date>2020-12-02T21:24:03Z</dc:date>
    <item>
      <title>How to use Sparse BLAS Inspector-executor hints</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1233653#M30409</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am interested in learning more about the purpose and usage of the Sparse BLAS hint routines such as &lt;STRONG&gt;mkl_sparse_set_mv_hint.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I am working on the numerical solution of a partial differential equation (PDE). Upon performing the spatial and temporal discretization I recover a system of ODE's which can be marched in time using a sparse matrix-vector product with `mkl_sparse_?_mv`. If I am using a Runge-Kutta method in the spatial discretizations, then I perform 4 multiplications in one time-step interlaced with some other algebraic operations. Are the hint routines useful in this case? Or are they only meant for situations where I plan to perform many iterations (N &amp;gt;&amp;gt; 1) on the same operands (e.g. in a sparse iterative solver between convergence checks)?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Ivan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:24:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1233653#M30409</guid>
      <dc:creator>ivanpribec</dc:creator>
      <dc:date>2020-12-02T21:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Sparse BLAS Inspector-executor hints</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234123#M30424</link>
      <description>&lt;P&gt;Ivan, the mv hint will not help in this case but I am not 100% sure. Let me ask the Sparse BLAS developer to look at this case and give you the answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 11:33:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234123#M30424</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-12-04T11:33:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: Re:How to use Sparse BLAS Inspector-executor hints</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234168#M30429</link>
      <description>&lt;P&gt;Thanks. I kind of had the feeling RK4 is not the right usage case for hints. I look forward to a reply from one the developers.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 08:07:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234168#M30429</guid>
      <dc:creator>ivanpribec</dc:creator>
      <dc:date>2020-12-04T08:07:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: Re:How to use Sparse BLAS Inspector-executor hints</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234201#M30431</link>
      <description>&lt;P&gt;yes, I already asked them to look at the case. I hope someone will answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 11:34:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234201#M30431</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-12-04T11:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Sparse BLAS Inspector-executor hints</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234270#M30433</link>
      <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;
&lt;P&gt;This is a great question.&amp;nbsp; sparse mv hint and optimization can incur some significant cost of time to analyze and possibly change matrix formats depending on what the sparse matrix profile looks like.&amp;nbsp; And the type of optimizations applied may be different for different profiles.&amp;nbsp; The best way to answer this question for your case is to do a comparison yourself with your specific matrix.&lt;/P&gt;
&lt;P&gt;Time 4 runs with no optimize&amp;nbsp; and then time optimize + 4 runs&amp;nbsp; and compare the two.&amp;nbsp; If there is significant optimization work happening inside (again based on sparsity profile) then likely 4 runs is not sufficient enough of work to amortize the cost of optimize.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Spencer&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 17:09:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-Sparse-BLAS-Inspector-executor-hints/m-p/1234270#M30433</guid>
      <dc:creator>Spencer_P_Intel</dc:creator>
      <dc:date>2020-12-04T17:09:39Z</dc:date>
    </item>
  </channel>
</rss>

