qopt-prefetch-loads-only, Qopt-prefetch-loads-only

Specifies that the compiler should only prefetch for loads inside the loop and ignore the stores, if any. This feature is only available for ifx.

Syntax

Linux:

-qopt-prefetch-loads-only

macOS:

None

Windows:

/Qopt-prefetch-loads-only

Arguments

None

Default

OFF

The compiler prefetches for both loads and stores.

Description

This option specifies that the compiler should only prefetch for loads inside the loop and ignore the stores, if any. This feature is only available for ifx.

Linux

This option is ignored if option -qopt-prefetch=0 or option -qno-opt-prefetch is specified.

Windows

This option is ignored if option /Qopt-prefetch=0 or option /Qopt-prefetch- is specified.

Note

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.

IDE Equivalent

None

Alternate Options

None

See Also