enforce-offloads
enforce-offloads
Offload all selected code regions
even if offloading their child loops/functions is more profitable.
Syntax
--enforce-offloads
--no-enforce-offloads
Default
Off (no-enforce-offloads)
Actions Modified
collect
=protection
Usage
Use this option if you want to check offload
profitability for all selected loops or if your loop of interest is reported as
not recommended for offloading to a target device. This option may be useful
for remodeling when you run the Performance Projection several times with
different modeling parameters or for different targets without rerunning the
collection. This option skips the profitability check, disables analyzing child
loops and functions to make sure the loops selected for offload are offloaded
even if offloading child loops is more profitable.
You can use it with the
select
to specify code
regions to offload by their source location, ID, selection criteria or using a
pre-defined mark-up strategy.
Example
Run the Performance Modeling and offload all code
regions.
advisor --collect=projection --enforce-offload --project-dir=./advi_results