Intel® Advisor User Guide

ID 766448
Date 3/22/2024
Public

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

Document Table of Contents

assume-hide-taxes

Estimate invocation taxes assuming the invocation tax is paid only for the first kernel launch.

GUI Equivalent

Analysis Properties > Offload Modeling > Performance Modeling > Single Kernel Launch Tax

Syntax

--assume-hide-taxes

--no-assume-hide-taxes

Default

Off (no-assume-hide-taxes)

Actions Modified

collect=projection

collect=offload

Usage

You can control how to model kernel invocation taxes for your application. When a high call count value is detected for a potentially profitable code region, Intel® Advisor assumes that the kernel invocation tax is paid as many times as the kernel is launched. This results in high invocation tax and cost of offloading, which means that this code region cannot benefit from offloading.

For simple applications where there is no need to wait for a kernel instance to finish, use the assume-hide-taxes to hide this cost every time except the very first one and minimize the invocation tax.

Enable the assume-hide-taxes option to analyze oneAPI applications (SYCL or OpenMP* target) running on CPU.

Example

  1. Run Survey Analysis.

  2. Run Trip Counts and FLOP analyses of the Characterization stage.

  3. Model your application performance on a target device assuming the invocation tax is paid only when the kernel is launched for the first time.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --enable-data-transfer-analysis --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --assume-hide-taxes --project-dir=./advi_results

See Also