Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
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.

Syntax

Linux:

-qopt-prefetch-loads-only

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.

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.

IDE Equivalent

None

Alternate Options

None

See Also