<?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 Reply for testing in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151561#M17435</link>
    <description>&lt;P&gt;Reply for testing&lt;/P&gt;</description>
    <pubDate>Fri, 02 Nov 2018 02:02:13 GMT</pubDate>
    <dc:creator>guo__jian</dc:creator>
    <dc:date>2018-11-02T02:02:13Z</dc:date>
    <item>
      <title>Can VTune 2019 profile Python code with Numba decorators?</title>
      <link>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151560#M17434</link>
      <description>&lt;P&gt;I am using VTune to profile some Python codes for getting "GFLOPS".&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The baseline code is written with Numpy and the optimized code is in Numba (with @njit and @vectorize decorator). The Numba code is about 8 times faster than the Numpy baseline, however, vTune shows that&amp;nbsp; Numpy and Numba achieve the same "GFLOPS".&lt;/P&gt;

&lt;P&gt;I just want to make sure that &lt;SPAN style="font-size: 13.008px;"&gt;can&amp;nbsp;&lt;/SPAN&gt;the latest vTune report&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;"GFLOPS" correctly for Numba Python code or not?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Is there any benchmark or example code about profiling&amp;nbsp;&lt;/SPAN&gt;Python​&amp;nbsp;Numba​ with vTune?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks and regards&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 09:57:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151560#M17434</guid>
      <dc:creator>guo__jian</dc:creator>
      <dc:date>2018-10-31T09:57:32Z</dc:date>
    </item>
    <item>
      <title>Reply for testing</title>
      <link>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151561#M17435</link>
      <description>&lt;P&gt;Reply for testing&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 02:02:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151561#M17435</guid>
      <dc:creator>guo__jian</dc:creator>
      <dc:date>2018-11-02T02:02:13Z</dc:date>
    </item>
    <item>
      <title>The coming update 1 release</title>
      <link>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151562#M17436</link>
      <description>&lt;P&gt;The coming update 1 release of Parallel Studio will contain better support for Numba profiling but it is rather related to how Numba code is displayed and referred to in VTune. I'll leave for others to comment how GFLOPS metrics works in VTune but I can explain the difference in performance between Numba and Numpy. Numba fuses all the vectorized operations into a single loop over a data, so it does not need to store intermediate results to memory and get them back for another operations which Numpy usually does. So, they work at the same rate with the memory, but Numba is much more efficient with respect to the number of memory operations.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 18:23:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151562#M17436</guid>
      <dc:creator>Anton_M_Intel</dc:creator>
      <dc:date>2018-11-08T18:23:46Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151563#M17437</link>
      <description>&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;/P&gt;&lt;BLOCKQUOTE&gt;Anton Malakhov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The coming update 1 release of Parallel Studio will contain better support for Numba profiling but it is rather related to how Numba code is displayed and referred to in VTune. I'll leave for others to comment how GFLOPS metrics works in VTune but I can explain the difference in performance between Numba and Numpy. Numba fuses all the vectorized operations into a single loop over a data, so it does not need to store intermediate results to memory and get them back for another operations which Numpy usually does. So, they work at the same rate with the memory, but Numba is much more efficient with respect to the number of memory operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for your reply.&lt;/P&gt;&lt;P&gt;I have another question about profile Python (NumPy-based) with vTune. When VTune calculate and report GFLOPS, which counts kernel computing time and API calls time or just&amp;nbsp;kernel computing time? Can VTune report the total number of how many flop in a code? (I think the number of flop&amp;nbsp;is able, but I am sorry that I have no idea how to check it)&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 08:32:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-VTune-2019-profile-Python-code-with-Numba-decorators/m-p/1151563#M17437</guid>
      <dc:creator>guo__jian</dc:creator>
      <dc:date>2018-11-09T08:32:15Z</dc:date>
    </item>
  </channel>
</rss>

