Visible to Intel only — GUID: GUID-AB499A1E-24FB-43F8-AF24-5036AA1FC58A
Visible to Intel only — GUID: GUID-AB499A1E-24FB-43F8-AF24-5036AA1FC58A
cache-simulation
Simulate device cache behavior for your application.
GUI Equivalent
Analysis Workflow > Characterization > Cache Simulation Mode
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.
- Use off to decrease overhead.
- Use single with 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 to enable-cache-simulation.
- Use multi with 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 the flex-cachesim option (deprecated).
- Use grf to ... This option is equivalent to the enable-grf-simulation option (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