Visible to Intel only — GUID: GUID-400F772F-22F0-4CAE-A398-D7E7CEAA771C
Visible to Intel only — GUID: GUID-400F772F-22F0-4CAE-A398-D7E7CEAA771C
qopt-report, Qopt-report
Enables the generation of a textual file that includes optimization transformation information.
Syntax
Linux: |
-qopt-report[=arg] |
Windows: |
/Qopt-report[=arg] |
Arguments
arg |
Determines the level of detail in the report. Possible values are:
|
Default
OFF |
No optimization report is generated. |
Description
This option enables the generation of a textual file that includes optimization transformation information.
The file provides the optimization information for the source file being compiled. For example:
icx -fiopenmp -qopt-report foo.c
This command will generate a file called foo.optrpt containing the optimization report messages.
When offloading is enabled, two optimization reports are generated:
A host-side optimization report named foo.optrpt, when there is only CPU compilation.
A device-side optimization report with the form foo-xxx-yyy.optrpt, where xxx is either "sycl" or "openmp" depending on the kind of offload, and "yyy" is the name of the offload target.
For example, if option -fopenmp-targets=spir64 is specified on the compile, the report is named foo-openmp-spir64.optrpt.
In releases prior to 2025.0, this option also produced a YAML-formatted optimization report containing LLVM community optimization remarks. Beginning with release 2025.0, the YAML file will no longer be produced by this option.
However, you can still produce the YAML report using the Clang option -fsave-optimization-record.
IDE Equivalent
Alternate Options
None