Intel® Advisor User Guide

ID 766448
Date 11/07/2023
Public

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

Document Table of Contents

assume-single-data-transfer

Assume data is transferred only once for each offload, and all instances share that data.

Syntax

--assume-single-data-transfer

--no-assume-single-data-transfer

Default

Off (no-assume-single-data-transfer)

Actions Modified

collect=projection

collect=offload

Usage

When the option is disabled, use an optimistic approach to estimate data transfer taxes: assume data is only transferred once for each offload, and all instances share that data.

When the option is enabled, use a pessimistic approach to estimate data transfer taxes: assume each data object is transferred for every instance of an offload that uses it. This method assumes no data re-use between calls to the same kernel. SYCL, OpenMP* target, and OpenCL™ kernels running on a CPU are still counted only once because the call count for these kernels is usually inflated.

NOTE:
Make sure to enable the data transfer analysis during the Trip Counts collection with --data-transfer=[light | medium |full] or --enable-data-transfer-analysis.

Example

  1. Run Survey Analysis.

  2. Run Trip Counts and FLOP analyses of the Characterization stage with the light data transfer.

  3. Model your application performance assuming data is transferred only once.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --data-transfer=light --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --assume-single-data-transfer --project-dir=./advi_results

See Also