Expected Vectorization with Array Notation

Expected Vectorization with Array Notation

Ritratto di Jorge Martinis

Hi There! I have a large number number of loops written in Array Notation. After a build with options /O2 and /Qvec-report3 activated, I found that none of those loops were vectorized. I tried to find reasons in the documentation without success. What reasons would prevent the composer from vectorizing a loop in Array Notation? Thanks!

5 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Brandon Hewitt (Intel)

Hi Jorge,

Are you getting any output at all from /Qvec-report3? There might be a problem with your settings if you're not, which I can assist with. /Qvec-report3 should normally give you reasons why loops aren't vectorizing.

A complete listing of the compiler and linker options used and the compiler output you're seeing would be a good next step.

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: http://software.intel.com/en-us/articles/tools Software Product support info: http://www.intel.com/software/support
Ritratto di Jorge Martinis

Hi Brandon, I am afraid I cannot make our compiler options public. Could we move to a private thread? Once solved, we could share the solution (if any) with everyone. Cheers, Jorge

Ritratto di Jorge Martinis

Brandon, I found that all loops written using array notation were properly vectorized. The compiler reports them as: ...remark: FUSED LOOP WAS VECTORIZED Thanks! Jorge

Ritratto di Brandon Hewitt (Intel)

Jorge,

Glad to see there isn't a problem here, thanks for letting us know.

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: http://software.intel.com/en-us/articles/tools Software Product support info: http://www.intel.com/software/support

Accedere per lasciare un commento.