<?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 MKL Poisson Solver Profiling Question in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161643#M27956</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I am using MKL to solve a 2D Cartesian Poisson Problem with fixed Neumann boundary conditions.&lt;/P&gt;

&lt;P&gt;I have two questions:&lt;/P&gt;

&lt;P&gt;(i) based on experiments, I have noticed that the runtime/complexity depends both on (1) the number of intervals and (2) the magnitude of the domain (ax, bx, ay, by). Is this always the case? I expected (1) to be the main parameter which affects performance. I guess this is because internally the algorithm uses an internal grid. If this is the case is there way to make it more granular to increase performance?&lt;/P&gt;

&lt;P&gt;(ii) when profiling my code, most of the execution time is spent on one MKL function dgemm():&lt;/P&gt;

&lt;P&gt;Each sample counts as 0.01 seconds.&lt;BR /&gt;
	&amp;nbsp; %&amp;nbsp;&amp;nbsp; cumulative&amp;nbsp;&amp;nbsp; self&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total&lt;BR /&gt;
	&amp;nbsp;time&amp;nbsp;&amp;nbsp; seconds&amp;nbsp;&amp;nbsp; seconds&amp;nbsp;&amp;nbsp;&amp;nbsp; calls&amp;nbsp;&amp;nbsp; s/call&amp;nbsp;&amp;nbsp; s/call&amp;nbsp; name&lt;BR /&gt;
	&amp;nbsp;72.06&amp;nbsp;&amp;nbsp;&amp;nbsp; 564.09&amp;nbsp;&amp;nbsp; 564.09&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dgemm_&lt;/P&gt;

&lt;P&gt;despite that the number of intervals is small, specifically 196 x 196. Why would that be? Is there a way to speed up my code?&lt;/P&gt;

&lt;P&gt;Thanks very much in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Aug 2017 01:00:31 GMT</pubDate>
    <dc:creator>Christos_S_</dc:creator>
    <dc:date>2017-08-05T01:00:31Z</dc:date>
    <item>
      <title>MKL Poisson Solver Profiling Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161643#M27956</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I am using MKL to solve a 2D Cartesian Poisson Problem with fixed Neumann boundary conditions.&lt;/P&gt;

&lt;P&gt;I have two questions:&lt;/P&gt;

&lt;P&gt;(i) based on experiments, I have noticed that the runtime/complexity depends both on (1) the number of intervals and (2) the magnitude of the domain (ax, bx, ay, by). Is this always the case? I expected (1) to be the main parameter which affects performance. I guess this is because internally the algorithm uses an internal grid. If this is the case is there way to make it more granular to increase performance?&lt;/P&gt;

&lt;P&gt;(ii) when profiling my code, most of the execution time is spent on one MKL function dgemm():&lt;/P&gt;

&lt;P&gt;Each sample counts as 0.01 seconds.&lt;BR /&gt;
	&amp;nbsp; %&amp;nbsp;&amp;nbsp; cumulative&amp;nbsp;&amp;nbsp; self&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total&lt;BR /&gt;
	&amp;nbsp;time&amp;nbsp;&amp;nbsp; seconds&amp;nbsp;&amp;nbsp; seconds&amp;nbsp;&amp;nbsp;&amp;nbsp; calls&amp;nbsp;&amp;nbsp; s/call&amp;nbsp;&amp;nbsp; s/call&amp;nbsp; name&lt;BR /&gt;
	&amp;nbsp;72.06&amp;nbsp;&amp;nbsp;&amp;nbsp; 564.09&amp;nbsp;&amp;nbsp; 564.09&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dgemm_&lt;/P&gt;

&lt;P&gt;despite that the number of intervals is small, specifically 196 x 196. Why would that be? Is there a way to speed up my code?&lt;/P&gt;

&lt;P&gt;Thanks very much in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 01:00:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161643#M27956</guid>
      <dc:creator>Christos_S_</dc:creator>
      <dc:date>2017-08-05T01:00:31Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161644#M27957</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Yes, both of these parameters affect the performance.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;There is only one way to speed up the code in this case, to link with threaded MKL&amp;nbsp; version (mkl_intel_thread.lib).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 11:04:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161644#M27957</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-08-08T11:04:14Z</dc:date>
    </item>
    <item>
      <title>HI All,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161645#M27958</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;

&lt;P&gt;From my best Helmholtz solver doesn't depend on dgemm. Which function you call to solve Poisson equation?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:05:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Poisson-Solver-Profiling-Question/m-p/1161645#M27958</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2017-08-08T15:05:28Z</dc:date>
    </item>
  </channel>
</rss>

