ftarget-compile-fast

Tells the compiler to perform less aggressive optimizations to reduce compilation time at the expense of generating less optimal target code. This is an experimental feature.This feature is only available for ifx.

Syntax

Linux:

-ftarget-compile-fast

Windows:

/ftarget-compile-fast

Arguments

None

Default

OFF

Less aggressive optimizations to reduce compilation time are not performed.

Description

This option tells the compiler to perform less aggressive optimizations to reduce compilation time at the expense of generating less optimal target code. This is an experimental feature.

It may be useful to specify this option in these cases:

This option is not recommended when you are specifying options O2 or O3 for a product with Ahead-of-Time (AOT) compilation, where long but one-time compilation may be tolerable in order to achieve the best performance.

Note

This compiler option is not recommended if you plan to ship object files as part of a final product.

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

Examples

The following shows examples of using this option:

Linux

ifx -fiopenmp -fopenmp-targets=spir64 -ftarget-compile-fast foo.F90 -o a.out 

Windows

ifx /Qiopenmp /Qopenmp-targets=spir64 /ftarget-compile-fast foo.F90 /object:a.out