comparison of icc and gcc

comparison of icc and gcc

I wrote, compiled and ran a simulation program both using icc and gcc. The output was not the same, but it was very close most of the time.

In a few case in the program's output, the difference between gcc and icc compiler was great. This was a small amount of time - a rare event. But still it was noticeable.

Should I be concerned or is this SOP?


2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

I assume the difference is coming from floating point calculations? If so, I recommend the following article:

which does a good job of explaining your options for dealing with floating-point.

Brandon Hewitt Technical Consulting Engineer For 1:1 technical support: Software Product Support info:

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui