标题:ifort 禁止循环完全展开的选项是什么?
只看楼主
vfdff
Rank: 6Rank: 6
等 级:侠之大者
威 望:8
帖 子:2172
专家分:425
注 册:2005-7-15
结帖率:79.17%
已结贴  问题点数:20 回复次数:1 
ifort 禁止循环完全展开的选项是什么?
/opt/intel/oneapi/compiler/2021.1.1/linux/bin/intel64/ifort -m64 -qopt-report=4 -qopt-report-phase=loop,vec -qopt-report-file=aa -xCORE-AVX512 -O2 -no-prec-div -g vi_small_step.f90 -o vi_small_step.icc.256 -fno-unroll-loops -unroll=0 -fp-model fast -unroll=1 -no-unroll-aggressive

按照使用手册《19-1-cpp-compiler-devguide.pdf》,已经添加了 -unroll=1 -no-unroll-aggressive  -fno-unroll-loops 等选项,仍旧会完全展开(代码是NICAM)

zhongyunde@x86-high-performance:NICAM$ grep completely aa
      remark #15427: loop was completely unrolled
      remark #15427: loop was completely unrolled

搜索更多相关主题的帖子: pdf 循环 禁止 选项 展开 
2022-03-15 11:09
rjsp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:507
帖 子:8890
专家分:53117
注 册:2011-1-18
得分:20 
不懂你在讲什么,但 -unroll=1 难道不应该是 -unroll=0 吗?
2022-03-15 16:19



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-508558-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.349865 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved