cache-simulation
Simulate device cache behavior for
your application.
GUI Equivalent
Syntax
--cache-simulation
=
<string>
Arguments
<string>
is one of the
following:
Argument
| Description
|
---|---|
off
| Disable cache simulation.
|
single
| Simulate GPU memory hierarchy behavior only for the selected
target device or CPU cache behavior if no target device is selected.
|
multi
| Simulate cache behavior for all available target devices to
remodel performance without re-running the collection.
|
grf
| Simulate general register file (GRF) behavior.
|
Default
off
Usage
Enabling cache simulation can increase analysis overhead.
- Useoffto decrease overhead.
- Usesinglewith Offload Modeling if you want to model performance for a single target device. You can use this mode for the CPU Roofline collection. This option is equivalent toenable-cache-simulation.
- Usemultiwith Offload Modeling if you want to model performance for several devices or with modified memory parameters without rerunning the Characterization (Trip Count and FLOP) analysis. This option is equivalent to theflex-cachesimoption (deprecated).
- Usegrfto ... This option is equivalent to theenable-grf-simulationoption (deprecated).
Example
Run Characterization analysis with cache simulation
enabled to model performance for all available devices.
advisor --collect=tripcounts --flop --cache-simulation=multi --target-device=xehpg_512xve --project-dir=./advi_results -- ./myApplication