Visible to Intel only — GUID: GUID-8DEDC001-9BEE-43ED-89D4-D154E576CB6C
Visible to Intel only — GUID: GUID-8DEDC001-9BEE-43ED-89D4-D154E576CB6C
fprofile-sample-generate
Enables the compiler and linker to generate information and adjust optimization for Hardware Profile-Guided Optimization (HWPGO).
Syntax
Linux: |
-fprofile-sample-generate[=level] |
Windows: |
/fprofile-sample-generate[:level] |
Arguments
level |
Specifies which actions the compiler should perform. Possible values are:
|
Default
OFF |
The compiler and linker do not generate information for HWPGO. |
Description
This option enables the compiler and linker to generate information and adjust optimization for Hardware Profile-Guided Optimization (HWPGO).
On Windows, the following cautions apply when using this option:
The LLD linker is required and you must specify /profile-sample-generate as a link option if the LLD linker is not invoked by icx/icpx.
Do not specify option /Ob0 or /Ob1 with option /fprofile-sample-generate or /fprofile-sample-use because it will disable inlining.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None