Enables the use of a pre-trained machine learning model to predict branch execution probabilities driving profile-guided optimizations. This feature is only available for ifx.
Linux: | -fprofile-ml-use |
Windows: | /fprofile-ml-use |
None
OFF |
The compiler follows default static heuristics for profile-guided optimizations. |
This option enables the use of a pre-trained machine learning model to predict branch execution probabilities driving profile-guided optimizations.
It replaces the default static heuristics in the compiler and serves as a single-pass proxy to get the performance gains from the true 2-pass profiling methods by instrumentation/sampling.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
Visual Studio: Fortran -> Optimization > Use Pre-trained Machine Learning Model for Profile Guided Optimizations
None
The following shows examples of using this option:
Linux
ifx -c -fprofile-ml-use t.f90
Windows
ifx /c /fprofile-ml-use t.f90