Visible to Intel only — GUID: GUID-48EABE27-053D-4DC0-9F3E-0828BF3ED6AC
Visible to Intel only — GUID: GUID-48EABE27-053D-4DC0-9F3E-0828BF3ED6AC
enable-cache-simulation
Model CPU cache behavior on your target application.
GUI Equivalent
For basic modeling functionality: Project Properties > Analysis Target > Memory Access Patterns Analysis > Advanced > Enable CPU cache simulation
For enhanced modeling functionality:
Project Properties > Analysis Target > Trip Counts and FLOP Analysis > Enable CPU cache simulation or
Analysis Workflow > [CPU | GPU] Roofline > Characterization > Enable CPU cache simulation
Syntax
--enable-cache-simulation --no-enable-cache-simulation |
Default
Off (no-enable-cache-simulation)
Usage
Enabling can increase collection overhead.
Cache simulation modeling applies to the following:
Memory Access Patterns analysis - This basic simulation functionality models accurate memory footprints, miss information, and cache line utilization for a downstream Memory Access Patterns report.
CPU / Memory Roofline Insights perspective - This enhanced simulation functionality models multiple levels of cache for a downstream Memory-Level Roofline chart or Roofline interactive HTML report.
Example
Run a Memory Access Patterns analysis. Enable cache simulation with basic functionality and default cache parameters to collect cache modeling data for a downstream Memory Access Patterns report.
advisor --collect=map --enable-cache-simulation --project-dir=./advi_results -- ./myApplication
Run a Roofline analysis for all memory levels.
advisor --collect=roofline --enable-cache-simulation --project-dir=./advi_results -- ./myApplication