<?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 boost numpy.dot performance in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/How-to-boost-numpy-dot-performance/m-p/1150844#M1117</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have installed intel anaconda build instead of offical&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;anaconda build. There &amp;nbsp;are 15% performance improvement form matrix, such as np.dot np.reduce&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I am wondering if there are any other ways which can greatly boost perfromance for matrix compution.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your help!&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 06:07:04 GMT</pubDate>
    <dc:creator>Gang_Z_</dc:creator>
    <dc:date>2017-11-02T06:07:04Z</dc:date>
    <item>
      <title>How to boost numpy.dot performance</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/How-to-boost-numpy-dot-performance/m-p/1150844#M1117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have installed intel anaconda build instead of offical&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;anaconda build. There &amp;nbsp;are 15% performance improvement form matrix, such as np.dot np.reduce&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I am wondering if there are any other ways which can greatly boost perfromance for matrix compution.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your help!&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 06:07:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/How-to-boost-numpy-dot-performance/m-p/1150844#M1117</guid>
      <dc:creator>Gang_Z_</dc:creator>
      <dc:date>2017-11-02T06:07:04Z</dc:date>
    </item>
    <item>
      <title>For dot, Anaconda &amp; Intel</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/How-to-boost-numpy-dot-performance/m-p/1150845#M1118</link>
      <description>&lt;P&gt;For dot, Anaconda &amp;amp; Intel both rely on MKL so there will not be a big performance difference. The performance difference is probably coming from our optimizations of memory allocation. You might be able to make it faster by using the out parameter. See&amp;nbsp;&lt;A href="https://github.com/IntelPython/ibench/blob/master/ibench/benchmarks/dot.py"&gt;https://github.com/IntelPython/ibench/blob/master/ibench/benchmarks/dot.py&lt;/A&gt;&amp;nbsp;for an example.&lt;/P&gt;

&lt;P&gt;For some linear algebra operations, it will be faster to use fortran order arrays. See&amp;nbsp;&lt;A href="https://github.com/IntelPython/ibench/blob/master/ibench/benchmarks/inv.py"&gt;https://github.com/IntelPython/ibench/blob/master/ibench/benchmarks/inv.py&lt;/A&gt;&amp;nbsp;for an example. dot will get the same speed for c &amp;amp; fortran order.&lt;/P&gt;

&lt;P&gt;Running on a machine with multiple cores and avx2 or avx 512 will also bring a benefit.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 13:23:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/How-to-boost-numpy-dot-performance/m-p/1150845#M1118</guid>
      <dc:creator>Robert_C_Intel</dc:creator>
      <dc:date>2017-11-02T13:23:35Z</dc:date>
    </item>
  </channel>
</rss>

