<?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 Can't get correct benchmark in Intel Xeon Phi  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-correct-benchmark-in-Intel-Xeon-Phi/m-p/933549#M13894</link>
    <description>&lt;P&gt;I am trying to use cholesky factorization in intel mic, but I am not able to get correct performance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how I run the code:&lt;/P&gt;
&lt;P&gt;[root@bunsen-mic0 /tmp]# env USE_2MB_BUFFERS=3000 MKL_NUM_THREADS=240 KMP_AFFINITY=proclist=[1-240],granularity=fine,explicit ./testing_native_dpotrf -N 9600 -L 5&lt;BR /&gt;time 1.201130, gflops 245.567177 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this is warm up&lt;BR /&gt;time 0.865080, gflops 340.960515&lt;BR /&gt;time 0.865288, gflops 340.878499&lt;BR /&gt;time 0.864819, gflops 341.063349&lt;BR /&gt;time 0.864337, gflops 341.253577&lt;BR /&gt;time 0.863623, gflops 341.535639&lt;/P&gt;
&lt;P&gt;The correct performance should be 500 gfops when size is 9600*9600&lt;/P&gt;
&lt;P&gt;here is the strange results when I only use 1 core:&lt;/P&gt;
&lt;P&gt;[root@bunsen-mic0 /tmp]# env USE_2MB_BUFFERS=3000 MKL_NUM_THREADS=4 KMP_AFFINITY=proclist=[1-4],granularity=fine,explicit ./testing_native_dpotrf -N 9600 -L 5&lt;BR /&gt;time 0.902745, gflops 326.734658&lt;BR /&gt;time 0.871131, gflops 338.592037&lt;BR /&gt;time 0.870778, gflops 338.729428&lt;BR /&gt;time 0.868808, gflops 339.497416&lt;BR /&gt;time 0.866140, gflops 340.543143&lt;BR /&gt;time 0.864064, gflops 341.361391&lt;/P&gt;
&lt;P&gt;This is significantly not corret, looks like the program is mess up with cores. Anyone can help me figure out where is the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attachment is my code, there is really nothing in it, just call lapacke_dpotrf&lt;/P&gt;
&lt;P&gt;BTW, the following is how I compile my code&lt;/P&gt;
&lt;P&gt;testing_native_dpotrf: testing_native_dpotrf.c &lt;BR /&gt; icc -O3 -mmic -mkl $&amp;lt; -o $@&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2013 22:46:54 GMT</pubDate>
    <dc:creator>Wei_W_2</dc:creator>
    <dc:date>2013-06-25T22:46:54Z</dc:date>
    <item>
      <title>Can't get correct benchmark in Intel Xeon Phi</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-correct-benchmark-in-Intel-Xeon-Phi/m-p/933549#M13894</link>
      <description>&lt;P&gt;I am trying to use cholesky factorization in intel mic, but I am not able to get correct performance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how I run the code:&lt;/P&gt;
&lt;P&gt;[root@bunsen-mic0 /tmp]# env USE_2MB_BUFFERS=3000 MKL_NUM_THREADS=240 KMP_AFFINITY=proclist=[1-240],granularity=fine,explicit ./testing_native_dpotrf -N 9600 -L 5&lt;BR /&gt;time 1.201130, gflops 245.567177 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this is warm up&lt;BR /&gt;time 0.865080, gflops 340.960515&lt;BR /&gt;time 0.865288, gflops 340.878499&lt;BR /&gt;time 0.864819, gflops 341.063349&lt;BR /&gt;time 0.864337, gflops 341.253577&lt;BR /&gt;time 0.863623, gflops 341.535639&lt;/P&gt;
&lt;P&gt;The correct performance should be 500 gfops when size is 9600*9600&lt;/P&gt;
&lt;P&gt;here is the strange results when I only use 1 core:&lt;/P&gt;
&lt;P&gt;[root@bunsen-mic0 /tmp]# env USE_2MB_BUFFERS=3000 MKL_NUM_THREADS=4 KMP_AFFINITY=proclist=[1-4],granularity=fine,explicit ./testing_native_dpotrf -N 9600 -L 5&lt;BR /&gt;time 0.902745, gflops 326.734658&lt;BR /&gt;time 0.871131, gflops 338.592037&lt;BR /&gt;time 0.870778, gflops 338.729428&lt;BR /&gt;time 0.868808, gflops 339.497416&lt;BR /&gt;time 0.866140, gflops 340.543143&lt;BR /&gt;time 0.864064, gflops 341.361391&lt;/P&gt;
&lt;P&gt;This is significantly not corret, looks like the program is mess up with cores. Anyone can help me figure out where is the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attachment is my code, there is really nothing in it, just call lapacke_dpotrf&lt;/P&gt;
&lt;P&gt;BTW, the following is how I compile my code&lt;/P&gt;
&lt;P&gt;testing_native_dpotrf: testing_native_dpotrf.c &lt;BR /&gt; icc -O3 -mmic -mkl $&amp;lt; -o $@&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 22:46:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-correct-benchmark-in-Intel-Xeon-Phi/m-p/933549#M13894</guid>
      <dc:creator>Wei_W_2</dc:creator>
      <dc:date>2013-06-25T22:46:54Z</dc:date>
    </item>
  </channel>
</rss>

