Intel Vectorization Toolkit: 4. Get Advice Using the Intel Compiler GAP Report and Toolkit Resources

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

Intel Vectorization Toolkit: Step 4: Get Advice Using the Intel Compiler GAP Report and Toolkit Resources


Run the Intel Compiler Guided Auto-parallelization (or GAP) report to see suggestions from the compiler on how to vectorize your loop candidates from step3.  Examine the advice and refer to additional toolkit resources as needed.

Run the GAP-report using the "-guide" or "/Qguide" options for the Intel Compiler.
Note: You can run the Intel Compiler on just parts of your application if needed.

An example non-vectorizing loop:


Advice given by GAP report:



-------------------------------------------------
Additional Resources for this Step
-------------------------------------------------

Website for optimizing with the Intel® Xeon® Phi™ coprocessors
View a Tutorial: Using the Gap Report
Read a Whitepaper: See Sections 4 & 5 (On common reasons why code does not vectorize) of A Guide to Auto-Vectorization with Intel C++ Compilers (these sections apply to Fortran as well)
Read Documentation: GAP Report
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
Evaluate the Compiler: Intel Software Evaluation Center

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.