Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

performance of MKL by c++ or fortran

$
0
0

Hi,

A interesting general question when I try the new version of Intel complier under windows system:

I have implemented the same algorithm by Intel C++ and Intel Fortran. Both of them use the intel mkl. However when I compare the running time, I am surprised to see that the code by C++ is three times slower than the one by Fortran.

Then I write the another algorithm by C++ and fortran, but this time, the intel mkl is not neccessaily used. I find the speed is similar.

So Is it normal that the difference of performance between C++ and fortran when using Intel MKL is so big? Any good suggestion how to configure the visual studio 2012 to improve the C++ performance?

Thanks.


Viewing all articles
Browse latest Browse all 3005


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