- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it apply for mkl on Windows-systems?
Thanks on all
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.tacc.utexas.edu/services/userguides/mkl/mkluse.htm
"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. " 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?
I use not the mkl self, but the mkl in Matlab. Matlab 2007a and up uses mkl 8.0
and for linux the mkl under Matlab dont change the rounding mode, but not under windows.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Gerry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Thank you for the additional information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You for your time and support for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
http://support.intel.com/support/performancetools/libraries/mkl/win/
or provide a simple example here?
Thanks.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page