User Tools

Site Tools


vectorization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
vectorization [2017/06/26 10:29]
meesters [Which code can be auto-vectorized?]
vectorization [2017/06/26 10:30]
meesters [Which code can be auto-vectorized?]
Line 52: Line 52:
 A list of loop constructs which can be auto-vectorized [[https://​twiki.cern.ch/​twiki/​bin/​view/​CMSPublic/​WorkBookWritingAutovectorizableCode|can be found here.]] A list of loop constructs which can be auto-vectorized [[https://​twiki.cern.ch/​twiki/​bin/​view/​CMSPublic/​WorkBookWritingAutovectorizableCode|can be found here.]]
  
-Once you compile your code with the option ''​-fopt-info-vec-missed[=logfile]''​ GCC will give you a detailed report of all loops in your program and the reason why vectorization failed. In contrast,''​-fopt-info-loop-optimized=[logfile]''​ sums the number of vectorized loops and their positions. Both options are mutually exclusive.+Once you compile your code with the option ''​-fopt-info-vec-missed[=logfile]''​ GCC will give you a detailed report of all loops in your program and the reason why vectorization failed ​or why it has been sub-optimal. In contrast,''​-fopt-info-loop-optimized=[logfile]''​ sums the number of vectorized loops and their positions. Both options are mutually exclusive.
  
 ===== Getting GCC to auto-vectorize your code ===== ===== Getting GCC to auto-vectorize your code =====
vectorization.txt · Last modified: 2017/06/26 10:33 by meesters