<?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 Peter, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972947#M16853</link>
    <description>&lt;P&gt;Peter,&lt;/P&gt;

&lt;P&gt;the problem has been fixed into the latest 11.2 update 2 released two weeks ago. You may take this update and check how it will work on your side.&lt;/P&gt;

&lt;P&gt;thanks, Gennady&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2015 12:30:09 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2015-02-23T12:30:09Z</dc:date>
    <item>
      <title>Summary statistics correlation limited to 6 threads?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972944#M16850</link>
      <description>&lt;P&gt;I've been experimenting with the summary statistics library for computing correlation matrices. I'm using a large sample matrix (10000x6000) of random double values. I've found that the&amp;nbsp;VSL_SS_METHOD_FAST algorithm does a reasonable job of quickly computing the correlation matrix.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;However, the algorithm does not seem to use more than 6 threads, no matter how I tweak it. &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I assume that this large matrix could benefit from using more threads, but even on the Intel Phi I can't persuade MKL to use more than 6.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;(I've determined that 6 threads are in use both through observing my test case with top, and from setting KMP_AFFINITY=verbose and observing the output.)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I call mkl_set_num_threads(240) and mkl_set_dynamic(0) before I run my test case. After the test case, I compute the dot product of a large vector with itself using ddot. This demonstrates that MKL is able to use 240 threads - it's only the VLSS functions which seem to be restricted to 6 threads.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I've tested that the problem occurs with both&amp;nbsp;VSL_SS_METHOD_FAST and&amp;nbsp;VSL_SS_METHOD_1PASS, and with both&amp;nbsp;VSL_SS_MATRIX_STORAGE_ROWS and&amp;nbsp;VSL_SS_MATRIX_STORAGE_COLS.&lt;/P&gt;

&lt;P&gt;How can I fully exploit available processors (particularly on the Phi) to compute correlation matrices?&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;(I've tried attaching a test case to this, but I keep getting an AJAX HTTP error 550 from the forum.)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 16:13:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972944#M16850</guid>
      <dc:creator>Peter_B_9</dc:creator>
      <dc:date>2014-01-31T16:13:28Z</dc:date>
    </item>
    <item>
      <title>Peter,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972945#M16851</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;We reproduced this behavior.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Threading of correlation is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;multicriteria problem, with problem size DIMxSIZE (10000x6000) influencing not only work-size for each thread, but also high memory consumption.&amp;nbsp;Current implementation is based on assumption that DIM&amp;lt;&amp;lt;SIZE, within which we &lt;/SPAN&gt;limited&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;number of threads based on SIZE number, thus increasing that part of problem size will increase number of threads used. We are constanly working on improving threading efficency of our algorithms and consider your case in future optimizations.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 09:31:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972945#M16851</guid>
      <dc:creator>Ilya_B_Intel</dc:creator>
      <dc:date>2014-02-03T09:31:08Z</dc:date>
    </item>
    <item>
      <title>We will try to improve the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972946#M16852</link>
      <description>&lt;P&gt;We will try to improve the current implementation to make it more flexible to the input problem size. This issue is escalated.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 09:53:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972946#M16852</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-02-03T09:53:33Z</dc:date>
    </item>
    <item>
      <title>Peter,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972947#M16853</link>
      <description>&lt;P&gt;Peter,&lt;/P&gt;

&lt;P&gt;the problem has been fixed into the latest 11.2 update 2 released two weeks ago. You may take this update and check how it will work on your side.&lt;/P&gt;

&lt;P&gt;thanks, Gennady&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 12:30:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Summary-statistics-correlation-limited-to-6-threads/m-p/972947#M16853</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-02-23T12:30:09Z</dc:date>
    </item>
  </channel>
</rss>

