代码之家  ›  专栏  ›  技术社区  ›  Alexey Malistov

如何禁用英特尔编译器编写的“循环矢量化”备注?

  •  1
  • Alexey Malistov  · 技术社区  · 16 年前

    我想禁用由英特尔编译器编写的“循环是矢量化的”备注。 但我不想禁用优化。 我需要做什么?

    1 回复  |  直到 16 年前
        1
  •  3
  •   Gregory Pakosz    16 年前

    你试过吗? -vec_report 对不起,我没有 icc 立即安装。

       -vec_report[n] Control amount of vectorizer diagnostic information:
    
                      n=0 -- No diagnostic information
    
                      n=1 -- Indicate vectorized loops (DEFAULT)
    
                      n=2 -- Indicate vectorized/non-vectorized loops
    
                      n=3 -- Indicate vectorized/non-vectorized loops and pro-
                      hibiting data dependence information
    
                      n=4 -- Indicate non-vectorized loops
    
                      n=5  --  Indicate  non-vectorized  loops and prohibiting
                      data dependence information