Intel® Advisor Help

flex-cachesim

Enable flexible cache simulation to change cache configuration without re-running collection.

Syntax

--flex-cachesim=<string>

Arguments

Argument

Description

auto

Simulate cache for all supported target devices.

<cache-configurations>

Simulate cache for the specified configurations.

<cache-configurations> is a list of cache configurations to simulate separated with a \. Each cache configuration should follow this template:

<size_of_level1>:<size_of_level2>:<size_of_level3>.

For each memory level size, specify a unit of measure as b - bytes, k- kilobytes, or m - megabytes.

For example, 8k:512k:8m/24k:1m:8m/32k:1536k:8m.

Actions Modified

collect=tripcounts --enable-cache-simulation

collect=offload

Usage

Use flexible cache simulation to model cache data for several target devices. The flexible cache simulation allows you to change a device for an analysis without recollecting data.

Example

  1. Run a Survey analysis.

  2. Run a Trip Counts & FLOP analysis with the flexible cache simulation for all supported target devices.

$ advisor –-collect=survey –-project-dir=./advi_results -- ./myApplication 
$ advisor --collect=tripcounts --flop –-enable-cache-simulation --flex-cachesim=auto –-project-dir=./advi_results -- ./myApplication 

See Also