Intel® Advisor Help
You can change GPU parameters to model performance of future or custom graphics processing units (GPU) and see how your application performance changes.
Intel® Advisor has several predefined GPU device configurations that you can use to model application performance. If you want to estimate performance on a future GPU device or experiment with hardware parameters to see how they can change application performance, you can modify target hardware parameters for the Offload Modeling perspective in one of the following ways:
When you open the Summary tab of the Offload Modeling report in the Intel Advisor GUI or the interactive HTML report, you should see the Modeling Parameters pane, which shows the current modeled device and its parameters. Each parameter is a slider you can move to change its value.
You can use this pane to:
For CPU-to-GPU modeling, you can remodel performance using Intel Advisor CLI only.
For details about pane controls. see Window: Offload Modeling Summary.
This workflow is currently available for remodeling from a baseline GPU to a different target GPU device using Intel Advisor GUI. You can remodel application performance for the custom device from the Offload Modeling report.
Prerequisites:
To customize the hardware parameters and remodel application performance:
If you do not change the device, the current modeled target device will be used a baseline.
For example, you can increase the number of execution units EU Count to enable more compute operations to be executed at once. This can be useful for compute-bound applications, which is indicated in the Offload Bounded By pane.
When the analysis execution completes, the result estimated for the custom device configuration opens.
For example, if you increased the EU count value, you may see the compute time and compute bound percentage decreased and compute estimate metrics changed.
This workflow is currently available for remodeling performance:
For these cases, you can modify the parameters using Offload Modeling report and remodel performance using Intel Advisor CLI only.
Prerequisites:
To customize the hardware parameters and remodel application performance:
If you do not change the device, the current modeled target device will be used a baseline.
For example, you can increase the number of execution units EU Count to enable more compute operations to be executed at once. This can be useful for compute-bound applications, which is indicated in the Offload Bounded By pane.
After you move a slider, the Save to Remodel button activates, enabling you to save your custom configuration.
The Save Configuration dialog box opens.
After you save the custom configuration file, a command line for the Performance Modeling analysis appears under the hardware parameter sliders in the Modeling Parameters pane.
Notice that the command line has a --custom-config option with a full path to the custom configuration file you saved. The command line has all required options, and you can copy and paste it without modifications.
After the analysis execution completes, the result in your project directory will be updated for the new target device configuration.
For example, if you increased the EU count value, it you may see the compute time and compute bound percentage decreased and compute estimate metrics changed.
When you run the Offload Modeling perspective from the command line, you can use the --set-parameter=<parameter-to-change> option to change target parameters. You can use this option with the Offload Modeling collection preset or the Performance Modeling analysis. This is a one-time change applied only for the current execution. You can specify more than one parameter as a comma-separated list.
For example, you can model performance for a target device with 1.4 GHz frequency, 224 execution units, and other parameters corresponding to the gen12_tgl device configuration as following:
advisor --collect=offload --config=gen12_tgl --set-parameter="EU_count=224,Frequency=1.4e+9" --project-dir=./advi_results -- ./myApplication
You can open the generated results with your preferred method and examine the performance changes for the new target GPU.
To see what parameters you can change, you can save a configuration file for a selected device from Intel Advisor GUI or HTML report and examine the parameters listed.