Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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

Actions Modified

collect=tripcounts

collect=roofline

collect=offload

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

See Also