User Guide


Enforce Offloading for Specific Loops

Model performance on a target device for specific loops only even if they are not profitable.
If you want to check offload profitability only for specific loops or if your loop of interest is reported as not recommended for offloading to an accelerator, you can model performance only for these loops.
To do this:
  1. Collect performance data using the
    script or the
    command line interface.
  2. Rerun performance modeling using the
    script with the following options:
    • --select-loops=
      to specify loop(s) of interest in a comma-separated list
    • --enforce-offloads
      to make sure all of them are offloaded
You should see the
Offload Modeling
report that shows performance modeled for the selected loops only.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at