<?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 OK, Thanks Pavel! in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133266#M25801</link>
    <description>&lt;P&gt;OK, Thanks Pavel!&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 14:08:51 GMT</pubDate>
    <dc:creator>Norris__Peter</dc:creator>
    <dc:date>2019-01-15T14:08:51Z</dc:date>
    <item>
      <title>possible documentation error for initialization of Philox4x32-10 BRNG in MKL VSL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133264#M25799</link>
      <description>&lt;P&gt;There seems to be a discrepancy between the method of initialization of the Philox-4x32-10 random number generator in the following two web-pages when more than a single 32-bit integer is used for initialization:&lt;/P&gt;&lt;P&gt;(1)&amp;nbsp;https://software.intel.com/en-us/mkl-vsnotes-philox4x32-10&lt;BR /&gt;Stream Initialization by Function vslNewStreamEx&lt;/P&gt;&lt;P&gt;and the following article:&lt;/P&gt;&lt;P&gt;(2) &lt;A href="https://software.intel.com/en-us/articles/new-counter-based-random-number-generators-in-intel-math-kernel-library" target="_blank"&gt;https://software.intel.com/en-us/articles/new-counter-based-random-number-generators-in-intel-math-kernel-library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The case in (1)&amp;nbsp;seems a bit odd to me, since k is meant to be a 64-bit (2x32-bit) key, while the counter c is a128-bit (4x32-bit). Yet, the method described for n&amp;gt;2 is trying to initialize k&amp;nbsp;with more than 64-bits. Perhaps the text is wrong for (1) and that for n&amp;gt;2 the params[3,4,5,6] should instead be setting c?&lt;/P&gt;&lt;P&gt;Has anyone used this BRNG with multiple-word initialization?&lt;/P&gt;&lt;P&gt;Thanks. &amp;nbsp;P.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 18:55:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133264#M25799</guid>
      <dc:creator>Norris__Peter</dc:creator>
      <dc:date>2019-01-14T18:55:32Z</dc:date>
    </item>
    <item>
      <title>Hi Peter, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133265#M25800</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Peter,&lt;BR /&gt;Thanks for bringing us this observation!&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Yes, the description of the vslNewStreamEx function for Philox 4x32-10 in VS Notes contains a bug.&lt;BR /&gt;The right description is expected to be like this:&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Philox4x32-10 generates the stream and initializes it specifying the array params[] of &lt;EM&gt;n&lt;/EM&gt; 32-bit integers:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;= 0, assume&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;=&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&lt;SUB&gt;0&lt;/SUB&gt;&amp;nbsp;=&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&lt;SUB&gt;1&lt;/SUB&gt;&amp;nbsp;= 0.&lt;/LI&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;= 1, assume&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&amp;nbsp;= params[0],&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;= 0.&lt;/LI&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;= 2, assume&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&amp;nbsp;= params[0] + params[1]*2&lt;SUP&gt;32&lt;/SUP&gt;,&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;= 0.&lt;/LI&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;= 3, assume&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&amp;nbsp;= params[0] + params[1]*2&lt;SUP&gt;32&lt;/SUP&gt;,&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;= params[2].&lt;/LI&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;= 4, assume&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&amp;nbsp;= params[0] + params[1]*2&lt;SUP&gt;32&lt;/SUP&gt;,&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;= params[2]&amp;nbsp;+ params[3]*2&lt;SUP&gt;32&lt;/SUP&gt;.&lt;/LI&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;= 5, assume&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&amp;nbsp;= params[0] + params[1]*2&lt;SUP&gt;32&lt;/SUP&gt;,&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;= params[2]&amp;nbsp;+ params[3]*2&lt;SUP&gt;32&lt;/SUP&gt;+ params[4]*2&lt;SUP&gt;64&lt;/SUP&gt;.&lt;/LI&gt;&lt;LI&gt;If&amp;nbsp;&lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;&amp;gt;= 6, assume&amp;nbsp;&lt;EM&gt;k&lt;/EM&gt;&amp;nbsp;= params[0] + params[1]*2&lt;SUP&gt;32&lt;/SUP&gt;,&amp;nbsp;&lt;EM&gt;c&lt;/EM&gt;&amp;nbsp;= params[2]&amp;nbsp;+ params[3]*2&lt;SUP&gt;32&lt;/SUP&gt;+ params[4]*2&lt;SUP&gt;64&lt;/SUP&gt; + params[5]*2&lt;SUP&gt;96&lt;/SUP&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;We will update the documentation in one of the future releases of the library.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:03:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133265#M25800</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-01-15T14:03:15Z</dc:date>
    </item>
    <item>
      <title>OK, Thanks Pavel!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133266#M25801</link>
      <description>&lt;P&gt;OK, Thanks Pavel!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:08:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133266#M25801</guid>
      <dc:creator>Norris__Peter</dc:creator>
      <dc:date>2019-01-15T14:08:51Z</dc:date>
    </item>
    <item>
      <title>The problem is escalated and</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133267#M25802</link>
      <description>&lt;P&gt;The problem is escalated and this thread will be updated when the fix will be released.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:58:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/possible-documentation-error-for-initialization-of-Philox4x32-10/m-p/1133267#M25802</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-01-15T14:58:34Z</dc:date>
    </item>
  </channel>
</rss>

