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

fast

Maximizes speed across the entire program.

Syntax

Linux:

-fast

Windows:

/fast

Arguments

None

Default

OFF

The optimizations that maximize speed are not enabled.

Description

This option maximizes speed across the entire program.

Linux

It sets the following options:

-ipo, -O3, -static, -fp-model fast

Windows

It sets the following options:

/O3, /Qipo, /fp:fast

NOTE:

Option fast sets some aggressive optimizations that may not be appropriate for all applications. The resulting executable may not run on processor types different from the one on which you compile. You should make sure that you understand the individual optimization options that are enabled by option fast.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201

IDE Equivalent

None

Alternate Options

None

See Also