assume-hide-taxes
assume-hide-taxes
Estimate invocation taxes assuming
the invocation tax is paid only for the first kernel launch.
GUI Equivalent
Syntax
--assume-hide-taxes
--no-assume-hide-taxes
Default
Off (no-assume-hide-taxes)
Actions Modified
collect
=projection
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.
Example
- Run Survey Analysis.
- Run Trip Counts and FLOP analyses of the Characterization stage.
- 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 -stackwalk-mode=online --static-instruction-mix --project-dir=./advi -- myApplication
$ advisor --collect=tripcounts --flop --enable-data-transfer-analysis --project-dir=./advi -- myApplication
$ advisor --collect=projection --assume-hide-taxes --project-dir=./advi