Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Intel Vectorization Toolkit: 3. Determine Loop Candidates Using Intel Compiler Vec-Report

$
0
0

---------------------------------------------------------------------------------------
Back to the 6-step Process for Vectorization
---------------------------------------------------------------------------------------

Intel Vectorization Toolkit: Step 3. Determine Loop Candidates Using Intel Compiler Vec-Report


The vectorization report (or vec-report) of the Intel Compiler can tell you whether or not each loop in your code was vectorized. Look at the output of the vec-report for the hotspots you determined in Step 2.  If there are loops in your hotspots that did not vectorize, check whether they have math, data processing, or string calculations on data in parallel (for instance in an array).  If they do, they might benefit from vectorization.  Move to step 4 if any candidates are found. 

To run the vec-report, use the "-vec-report2" or "/Qvec-report2" option.

Note that the Intel Compiler can be run on just a portion of the code and will be compatible with the native compilers (gcc on Linux and Mac OS and Microsoft* Visual Studio on Windows*).




-------------------------------------------------
Additional Resources for this Step
-------------------------------------------------
Read Documentation: Vec-Report (including other option levels)
Read a tutorial: Generating a Vectorization Report
Read a white paper: See Using Auto Vectorization.

Talk about it with other users and experts: Intel C++ Compiler Forum, Intel Visual Fortran Compiler Forum, Intel Fortran Compiler for Linux and Mac OS* X Forum
Try the compiler: Intel Software Evaluation Center

  • Desarrolladores
  • Apple Mac OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • Unix*
  • C/C++
  • Fortran
  • Intel® C++ Compiler
  • Intel® Fortran Compiler
  • Vectorización

  • Viewing all articles
    Browse latest Browse all 1616

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>