Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 讨论

Has anyone noticed any significant FP performance degradation with Ifort 2021?

Mark_Lewy
重要分销商 I
1,144 次查看

I've been doing some performance regression testing of Ifort 2021.3 against XE2019U5 and have noticed performance degradations of about 20-30% with my two real world test models with our simulation engine.  Minimal changes have been made to the solution to allow it to build with Ifort 2021.3 with VS 2019.

Profiling with VTune suggests some new Fortran RTL calls may be responsible: _for_ieee_signaling_lt_k8_ and _for_ieee_signaling_gt_k8_.

For example:

XE2019U5 - elapsed 109.756s, CPU 1608.253s

Ifort 2021.3 - elapsed 140.515s, CPU 2058.113s

  • _for_ieee_signaling_lt_k8_ - 118.048s
  • _for_ieee_signaling_gt_k8_ - 65.388s

My tests are being run on a Dell Precision 7540 with Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz 2.30 GHz.

 

0 项奖励
1 解答
Mark_Lewy
重要分销商 I
1,111 次查看

I believe this is down to a new feature for IEEE signaling comparisons that is enabled by /standard-semantics, which we use, see https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/language-reference/new-language-features.html

 

To disable use /assume:noieee_compares

在原帖中查看解决方案

0 项奖励
3 回复数
andrew_4619
名誉分销商 III
1,139 次查看

Are the options for run time checks the same in each case?  If they are you might find it interesting to switch some of those off and see if the difference does away.

0 项奖励
Mark_Lewy
重要分销商 I
1,125 次查看

Hi Andrew,

I believe the run time check options are the same for both compilers.  I did add a suppression for W7762 for Ifort 2021, but don't believe it's significant.  Also, I changed the standards checking on one project from Fortran 2003 to 2008.

I wonder whether the default run time checks have changed though?

 

0 项奖励
Mark_Lewy
重要分销商 I
1,112 次查看

I believe this is down to a new feature for IEEE signaling comparisons that is enabled by /standard-semantics, which we use, see https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/language-reference/new-language-features.html

 

To disable use /assume:noieee_compares

0 项奖励
回复