Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Matching floating point outputs between Visual C++ 11 and Intel Compiler

$
0
0

I am recompiling a computational program created in Visual Studio 2012 with Intel compiler from Parallel Studio 2017. The Visual Studio project has the floating point model set to /fp:precise In turn, I made sure it's also set to /fp:precise and /fp:source under Floating point expression evaluation. However, the outputs can still differ by 10^-5. In certain instances, the outputs differ by 10^5 with the original value  in the neighborhood of 10^5. What can I do to make the floating number output match closer ? I even disabled the use of MKL and it was not helping.

Thx,

Cliff

Zone: 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>