0

在英特尔 Fortran 编译器的这份矢量化报告中:

LOOP BEGIN at MLFMATranslationProd.f90(38,2)
  remark #15399: vectorization support: unroll factor set to 4
  remark #15300: LOOP WAS VECTORIZED
  remark #15462: unmasked indexed (or gather) loads: 2
  remark #15475: --- begin vector loop cost summary ---
  remark #15476: scalar loop cost: 12
  remark #15477: vector loop cost: 20.000
  remark #15478: estimated potential speedup: 2.340
  remark #15479: lightweight vector operations: 5
  remark #15481: heavy-overhead vector operations: 1
  remark #15488: --- end vector loop cost summary ---
LOOP END

这里的含义lightweight vectorheavy-overhead vector操作是什么?

相关的循环看起来像

do ir=1,N(lev) 
    G1(lev)%D(ir) = 0.d0 
    G2(lev)%D(ir) = 0.d0 
enddo

lev一些整数。

4

0 回答 0