Visible to Intel only — GUID: GUID-C46A86DA-6D6B-455D-8860-AC814569C3D5
Visible to Intel only — GUID: GUID-C46A86DA-6D6B-455D-8860-AC814569C3D5
qopt-prefetch, Qopt-prefetch
Enables or disables prefetch insertion optimization.
Syntax
Linux: |
-qopt-prefetch[=n] -qno-opt-prefetch |
macOS: |
-qopt-prefetch[=n] -qno-opt-prefetch |
Windows: |
/Qopt-prefetch[:n] /Qopt-prefetch- |
Arguments
n |
Is the level of software prefetching optimization desired. Possible values are:
|
Default
ifort: -qno-opt-prefetch |
Prefetch insertion optimization is disabled. |
ifx: varies |
The default can change depending on certain option settings. If you specify option -qno-opt-prefetch (or /Qopt-prefetch-), or you specify option O0 or O1 explicitly or implicitly, prefetch insertion optimization is disabled. If you specify option O2 or above explicitly or implicitly, the default is option -qopt-prefetch=2 (or /Qopt-prefetch:2). |
Description
This option enables or disables prefetch insertion optimization. The goal of prefetching is to reduce cache misses by providing hints to the processor about when data should be loaded into the cache.
This option enables prefetching when higher optimization levels are specified.
IDE Equivalent
Visual Studio: Optimization > Prefetch Insertion
Alternate Options
None