<?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 Quote:Andrey Nikolaev (Intel) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091745#M23297</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Andrey Nikolaev (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Intel MKL random number generators do not apply any additional steps related to a warm-up...&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you very much, Andrey.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;At first, I thought since MKL has wrapped everything into a unified interface, it probably takes care of everything inside.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I think the documentation is not elaborate enough on this aspect. If users didn't done enough investigation on PRNG. They probably won't know a warm up is need for safe use of PRNG, and different PRNG needs different length of warm up, some are quite long. However it is just not mentioned in the MKL documentation.&lt;/P&gt;

&lt;P&gt;Reliable Information such as how long warm up should be safe for each PRNG is not easy for users to gather in a short time. I hope the documentation could elaborate on this in the future.&lt;/P&gt;

&lt;P&gt;best regards&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 10:22:28 GMT</pubDate>
    <dc:creator>balabi_b_</dc:creator>
    <dc:date>2016-08-10T10:22:28Z</dc:date>
    <item>
      <title>Do MKL's vsl RNG contains a warm up process during initialization?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091743#M23295</link>
      <description>&lt;P&gt;I recently read a paper&amp;nbsp;&lt;A href="http://www0.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf"&gt;http://www0.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf&lt;/A&gt;&amp;nbsp; in which the author pointed out how important initialization is in usage of PRNG and he suggested that a warm up is needed for every usage of PRNG. And there is also paper written by the author of Mersenne Twister called "Common Defects in Initialization of Pseudorandom Number Generators"&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;So I am wondering, when we use &lt;/SPAN&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;vslNewStream&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; to initialize a stream of particular PRNG algorithm. Does it automatically take care of those traps in initialization of a particular PRNG? Does it contains a warm up already? Can I safely generate random number sequence immediately after&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.26px; font-weight: 700; line-height: 24.39px;"&gt;vslNewStream&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.26px; line-height: 24.39px;"&gt;&amp;nbsp;or should I add a warm up myself&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 08:37:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091743#M23295</guid>
      <dc:creator>balabi_b_</dc:creator>
      <dc:date>2016-08-10T08:37:57Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091744#M23296</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Intel MKL random number generators do not apply any additional steps related to a warm-up. Initialization of each basic random number generator is documented in Vector Statistics Notes, &lt;A href="https://software.intel.com/en-us/mkl-vsnotes"&gt;https://software.intel.com/en-us/mkl-vsnotes.&amp;nbsp;&lt;/A&gt;For example, &lt;A href="https://software.intel.com/en-us/node/590402"&gt;https://software.intel.com/en-us/node/590402&lt;/A&gt; describes how the library initializes MRG32K3a generator. Choice of&amp;nbsp;the basic random number generator, a seed&amp;nbsp;for it, as well as the method for distribution&amp;nbsp;random number generator and other&amp;nbsp;random number processing related &amp;nbsp;techniques are defined by requirements of the specific application and are expected to be done on the side of the user.&lt;/P&gt;

&lt;P&gt;Please,&amp;nbsp;note that the library provides the interface to HW RDRAND instruction based generator which can&amp;nbsp;be considered as one of the options for generation of the seed. Additionally, this article &lt;A href="https://software.intel.com/en-us/articles/initializing-Intel-MKL-BRNGs"&gt;https://software.intel.com/en-us/articles/initializing-Intel-MKL-BRNGs&lt;/A&gt; discusses some of the aspects related to seeding of Intel MKL RNGs.&lt;/P&gt;

&lt;P&gt;Please, let me know if it helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Andrey&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 09:48:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091744#M23296</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2016-08-10T09:48:17Z</dc:date>
    </item>
    <item>
      <title>Quote:Andrey Nikolaev (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091745#M23297</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Andrey Nikolaev (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Intel MKL random number generators do not apply any additional steps related to a warm-up...&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you very much, Andrey.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;At first, I thought since MKL has wrapped everything into a unified interface, it probably takes care of everything inside.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I think the documentation is not elaborate enough on this aspect. If users didn't done enough investigation on PRNG. They probably won't know a warm up is need for safe use of PRNG, and different PRNG needs different length of warm up, some are quite long. However it is just not mentioned in the MKL documentation.&lt;/P&gt;

&lt;P&gt;Reliable Information such as how long warm up should be safe for each PRNG is not easy for users to gather in a short time. I hope the documentation could elaborate on this in the future.&lt;/P&gt;

&lt;P&gt;best regards&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 10:22:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091745#M23297</guid>
      <dc:creator>balabi_b_</dc:creator>
      <dc:date>2016-08-10T10:22:28Z</dc:date>
    </item>
    <item>
      <title>Thank you for the feedback.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091746#M23298</link>
      <description>&lt;P&gt;Thank you for the feedback. We will analyze&amp;nbsp;how the documentation on Intel MKL RNGs can be extended.&amp;nbsp;Andrey&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 10:37:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-MKL-s-vsl-RNG-contains-a-warm-up-process-during/m-p/1091746#M23298</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2016-08-10T10:37:14Z</dc:date>
    </item>
  </channel>
</rss>

