Tutorial: Using Auto Vectorization with Intel® Fortran Compiler

ID 758497
Date 4/11/2022
Public

Improving Performance with Interprocedural Optimization

The compiler may be able to perform additional optimizations if it is able to optimize across source line boundaries. These may include, but are not limited to, function inlining. This is enabled with the /Qipo option.

Rebuild the program using the /Qipo option to enable interprocedural optimization.

Select Optimization [Intel C++] > Interprocedural Optimization > Multi-file(/Qipo).

Note that the vectorization messages now appear at the point of inlining in driver.f90 (line 69). You should see 4 optimization notes describing which loops were inlined from matvec.f90.

Now, run the executable and record the execution time.

Did you find the information on this page useful?

Characters remaining:

Feedback Message