<?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   in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082260#M22839</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Petros,&lt;/P&gt;

&lt;P&gt;Do you want to initialize the generator by array of seeds from which the state is internally produced or you already have a specific state of the generator you want to resume computations with?&lt;/P&gt;

&lt;P&gt;In the first case we provided extended version of NewStream routine. The library currently does not have tools to support the second scenario.&lt;/P&gt;

&lt;P&gt;If the second scenario is the case, I wonder why you are interested to provide the state into Intel MKL version of MT19937 instead of doing initialization that would result eventually in this state (I assume the state you have was produced from the specific seed)&lt;/P&gt;

&lt;P&gt;Please, let me know&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Andrey&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2016 18:57:04 GMT</pubDate>
    <dc:creator>Andrey_N_Intel</dc:creator>
    <dc:date>2016-09-19T18:57:04Z</dc:date>
    <item>
      <title>Rng initializing by state</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082259#M22838</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I would like to initialize the Mersenne Twister &amp;nbsp;rng's by a state instead of by a seed.&lt;/P&gt;

&lt;P&gt;How can this be done in mkl?&lt;/P&gt;

&lt;P&gt;TIA for your help,&lt;/P&gt;

&lt;P&gt;Petros&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 18:47:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082259#M22838</guid>
      <dc:creator>Petros_M_</dc:creator>
      <dc:date>2016-09-19T18:47:48Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082260#M22839</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Petros,&lt;/P&gt;

&lt;P&gt;Do you want to initialize the generator by array of seeds from which the state is internally produced or you already have a specific state of the generator you want to resume computations with?&lt;/P&gt;

&lt;P&gt;In the first case we provided extended version of NewStream routine. The library currently does not have tools to support the second scenario.&lt;/P&gt;

&lt;P&gt;If the second scenario is the case, I wonder why you are interested to provide the state into Intel MKL version of MT19937 instead of doing initialization that would result eventually in this state (I assume the state you have was produced from the specific seed)&lt;/P&gt;

&lt;P&gt;Please, let me know&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Andrey&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 18:57:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082260#M22839</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2016-09-19T18:57:04Z</dc:date>
    </item>
    <item>
      <title>Hi Andrey,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082261#M22840</link>
      <description>&lt;P&gt;Hi Andrey,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;gt;&amp;gt;Do you want to initialize the generator by array of seeds from which the state is internally produced or you already have a specific state of the generator you &amp;gt;&amp;gt;want to resume computations with?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;None of the two.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I&lt;STRONG&gt; have&lt;/STRONG&gt; the state. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Somebody things they have a better way to arrive to the state from a scalar input, than the standard one, and they are asking me to try it.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Please, don't make the effort &amp;nbsp;to come up with a substitute solution, as this is the problem &amp;nbsp;I need to solve(I truly appreciate the effort, though).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Is there a way to obtain the pointer to the state and overwrite its contents?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;(Just using the vector-input form of creating a stream, would, of course, be a very different thing.)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;PS: actually, per your point there is a way (albeit not immediate) to resume from a specific state, by making a copy of the stream (secondary stream) and save it and later copy its state to the "primary" stream, thus "re-instating it" !&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 19:08:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Rng-initializing-by-state/m-p/1082261#M22840</guid>
      <dc:creator>Petros_M_</dc:creator>
      <dc:date>2016-09-19T19:08:39Z</dc:date>
    </item>
  </channel>
</rss>

