Visible to Intel only — GUID: GUID-08EA21C1-414F-45F1-ADA8-85402F743A0C
Visible to Intel only — GUID: GUID-08EA21C1-414F-45F1-ADA8-85402F743A0C
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)
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.
Example
Run Survey Analysis.
Run Trip Counts and FLOP analyses of the Characterization stage with the light data transfer.
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