Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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