<?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 Re: rounding mode mkl 8 and up windows in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900798#M11197</link>
    <description>Hello tim18. Thank you for your answer. But this was not my question. For mkl 7.2 ( and up) on linux it applies, that the rounding mode will not be change by mkl, for example, if I multiply two vectors from an outstanding application, for example Matlab. But the mkl 6.0 set the rounding mode to rounding to nearest, multiply the vectors and then set the rounding mode to the previous mode. This is not a bug, because for this version this behavior is specific. &lt;BR /&gt; &lt;A href="http://www.tacc.utexas.edu/services/userguides/mkl/mkluse.htm" target="_blank"&gt;http://www.tacc.utexas.edu/services/userguides/mkl/mkluse.htm&lt;/A&gt;&lt;BR /&gt;"On input to Intel MKL, precision is set to 80-bit for x87
instructions and rounding is set to "the nearest". On output, user's
settings are restored. "



&lt;P&gt;&lt;A name="Obtaining Version Information"&gt;&lt;/A&gt;&lt;/P&gt;
For mkl 7.2 (if I'm not mistaken) for linux the specification provide, that the rounding mode does not bee changed by the mkl. But not the same is valid for the mkl of any Version on Windows platforms. Is this specific, or what can I do?&lt;BR /&gt;&lt;BR /&gt;I use not the mkl self, but the mkl in Matlab. Matlab 2007a and up uses mkl 8.0 &lt;BR /&gt;and for linux the mkl under Matlab dont change the rounding mode, but not under windows. &lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
    <pubDate>Tue, 22 Apr 2008 18:05:47 GMT</pubDate>
    <dc:creator>viktor3</dc:creator>
    <dc:date>2008-04-22T18:05:47Z</dc:date>
    <item>
      <title>rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900796#M11195</link>
      <description>Hello, i'm new on the forum. I hope my posting is at right place. I'm confused about rounding that mkl take by computations. For mkl version 7.1 (and up) on Linux the rounding mode will bee not changed troth the mkl. Does &lt;BR /&gt;it apply for mkl on Windows-systems?&lt;BR /&gt;&lt;BR /&gt;Thanks on all &lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2008 13:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900796#M11195</guid>
      <dc:creator>viktor3</dc:creator>
      <dc:date>2008-04-22T13:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900797#M11196</link>
      <description>Any MKL functions which modify rounding modes must restore them on exit, regardless of OS. Do you have an example which shows otherwise?&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2008 16:38:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900797#M11196</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-04-22T16:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900798#M11197</link>
      <description>Hello tim18. Thank you for your answer. But this was not my question. For mkl 7.2 ( and up) on linux it applies, that the rounding mode will not be change by mkl, for example, if I multiply two vectors from an outstanding application, for example Matlab. But the mkl 6.0 set the rounding mode to rounding to nearest, multiply the vectors and then set the rounding mode to the previous mode. This is not a bug, because for this version this behavior is specific. &lt;BR /&gt; &lt;A href="http://www.tacc.utexas.edu/services/userguides/mkl/mkluse.htm" target="_blank"&gt;http://www.tacc.utexas.edu/services/userguides/mkl/mkluse.htm&lt;/A&gt;&lt;BR /&gt;"On input to Intel MKL, precision is set to 80-bit for x87
instructions and rounding is set to "the nearest". On output, user's
settings are restored. "



&lt;P&gt;&lt;A name="Obtaining Version Information"&gt;&lt;/A&gt;&lt;/P&gt;
For mkl 7.2 (if I'm not mistaken) for linux the specification provide, that the rounding mode does not bee changed by the mkl. But not the same is valid for the mkl of any Version on Windows platforms. Is this specific, or what can I do?&lt;BR /&gt;&lt;BR /&gt;I use not the mkl self, but the mkl in Matlab. Matlab 2007a and up uses mkl 8.0 &lt;BR /&gt;and for linux the mkl under Matlab dont change the rounding mode, but not under windows. &lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2008 18:05:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900798#M11197</guid>
      <dc:creator>viktor3</dc:creator>
      <dc:date>2008-04-22T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900799#M11198</link>
      <description>&lt;P&gt;Regardless of the OS, MKL can and does change rounding modes and perhaps even precision. In particular, use of an interval arithmetic toolbox on Matlab or MKL's Linear Interval Solver suite do so; it's impossible to do enclosure arithmetic without changing rounding modes on the fly and precision has to be upped because the libraries for intrinsics were not developed with interval arithmetic in mind. The MKL documentation doesn't speak to these details and asking here is unlikely to evoke a response from the forum police.&lt;/P&gt;
&lt;P&gt;Gerry&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2008 23:09:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900799#M11198</guid>
      <dc:creator>g_f_thomas</dc:creator>
      <dc:date>2008-04-24T23:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900800#M11199</link>
      <description>MKL may indeed change the rounding mode/precison control for internal computations.Prior to any changes, however, the floating-point control state will be saved and then restored prior to leaving the MKL function. I hope this clarification helps.</description>
      <pubDate>Fri, 25 Apr 2008 00:15:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900800#M11199</guid>
      <dc:creator>Shane_S_Intel</dc:creator>
      <dc:date>2008-04-25T00:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900801#M11200</link>
      <description>O.K. thanks for your repluies. That all is known to me. But i'm sure, that for BLAS-operations inner product, matrix-vector and matrix-matrix products the mkl does not change the rounding mode on linux and not so on windows. You can reproduce it, if you set rounding to -infinity and then perform an inner product on two vectors. Then you must set the rounding mode to +infinity and perform the inner product on the two vectors again. You might see, that on linux the two results are different and they are equal on windows. This states, that there ist an ambiguous behaviour. &lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Apr 2008 07:54:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900801#M11200</guid>
      <dc:creator>viktor3</dc:creator>
      <dc:date>2008-04-25T07:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900802#M11201</link>
      <description>&lt;P&gt;A few clarifying questions. Do your Windows and Linux systems have identical processors? Is this IA-32 or Intel 64? On HW with both X87 and SSE fp (MXCSR) control words, do you change the rounding mode in both?&lt;/P&gt;
&lt;P&gt;Thank you for the additional information.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2008 08:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900802#M11201</guid>
      <dc:creator>Shane_S_Intel</dc:creator>
      <dc:date>2008-04-25T08:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900803#M11202</link>
      <description>Yes, it is the same machine, with the two OSs. It is a pentium4 machine. I switch the rounding mode with the fesetround(FE_DOWNWARD or FE_UPWARD) routine from the &lt;FENV.H&gt; standard c-header. &lt;BR /&gt;&lt;BR /&gt;Thank You for your time and support for me. &lt;BR /&gt;&lt;/FENV.H&gt;</description>
      <pubDate>Fri, 25 Apr 2008 09:31:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900803#M11202</guid>
      <dc:creator>viktor3</dc:creator>
      <dc:date>2008-04-25T09:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: rounding mode mkl 8 and up windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900804#M11203</link>
      <description>&lt;P&gt;Interesting, I would have expected similar behavior/results on the two OSs running on the same HW.Maybe theIA-32 default X87 precison controlof extended on Linux and double on Windows is playing a part here, but doubt it.I wonder if fenv.h and the underlying support routines are working as they should? Would it be possible to submit a simple test case at&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.intel.com/support/performancetools/libraries/mkl/win/"&gt;http://support.intel.com/support/performancetools/libraries/mkl/win/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or provide a simple example here?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2008 13:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rounding-mode-mkl-8-and-up-windows/m-p/900804#M11203</guid>
      <dc:creator>Shane_S_Intel</dc:creator>
      <dc:date>2008-04-28T13:34:10Z</dc:date>
    </item>
  </channel>
</rss>

