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

ID 767253
Date 3/31/2023
Public

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

Document Table of Contents

pragma-optimization-level

Specifies which interpretation of the optimization_level pragma should be used if no prefix is specified.

Syntax

Linux:

-pragma-optimization-level=interpretation

Windows:

None

Arguments

interpretation

Compiler-specific interpretation of optimization_level pragma. Possible values are:

Intel

Specify the Intel interpretation.

GCC

Specify the GCC interpretation.

Default

-pragma-optimization-level=Intel

Use the Intel interpretation of the optimization_level pragma.

Description

Specifies which interpretation of the optimization_level pragma should be used if no prefix 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