User Guide

Contents

Run
Offload Modeling
Perspective from GUI

Prerequisites:
  • For a Data Parallel C++ (DPC++), OpenMP* target, or OpenCL™ application, do
    one
    of the following:
  • In the graphical-user interface (GUI): Create a project and specify an analysis target and target options.
To configure and run the
Offload Modeling
perspective from the GUI:
  1. Select a baseline device from the drop-down.
    • To analyze an application running on a CPU (for example, C, C++, or Fortran), make sure
      CPU
      is selected.
    • To analyze an application running on a GPU (for example, DPC++, OpenMP target, OpenCL), select the
      GPU
      baseline device.
      If you select GPU, make sure the
      GPU Profiling
      checkbox is enabled under Survey, Characterization, and Performance Modeling analyses.
  2. Configure the perspective and set analysis properties, depending on desired results.
    • Select a collection accuracy level with analysis properties preset for a specific result:
      • Low
        : Model your application performance for a target device and get the basic low-confidence information about potential speed-up and performance.
      • Medium
        : Model your application performance and data transfers between host and target devices.
      • High
        : Model your application performance, data transfers, and memory objects attribution to improve offload modeling accuracy. For application running on CPU, analyze loop-carried dependencies.
    • Select the analyses and properties manually to adjust the perspective flow to your needs. The accuracy level is set to
      Custom
      .
    The higher accuracy value you choose, the higher runtime overhead is added to your application. The
    Overhead
    indicator shows the overhead for the selected configuration. For the
    Custom
    accuracy, the overhead is calculated automatically for the selected analyses and properties.
    By default, accuracy is set to
    Low
    . See Offload Modeling Accuracy Presets for more details.
  3. Select a target platform from the
    Target Platform Model
    drop-down.
  4. Click the button to run the perspective.
    While the perspective is running, you can do the following in the
    Analysis Workflow
    tab:
    • Control the perspective execution:
      • Stop data collection and see the already collected data: Click the button.
      • Pause data collection: Click the button.
      • Cancel data collection and discard the collected data: Click the button.
    • Expand an analysis with to control the analysis execution:
      • Pause the analysis: Click the button.
      • Stop the currently running analysis and start the next analysis selected: Click the button.
      • Interrupt execution of all selected analyses and see the already collected data: Click the button.
    After you run the
    Offload Modeling
    perspective, the collected Survey data becomes available for all other perspectives. If you switch to another perspective, you can skip the Survey step and run only perspective-specific analyses.
To run the CPU-to-GPU
Offload Modeling
perspective with the Medium accuracy from the command line interface:
advisor --collect=offload --project-dir=./advi_results -- ./myApplication
To run the GPU-to-GPU
Offload Modeling
perspective with the Medium accuracy from the command line interface:
advisor --collect=offload --gpu --project-dir=./advi_results -- ./myApplication
See Run Offload Modeling Perspective from Command Line for details. See Run GPU-to-GPU Performance Modeling from Command Line for details about the GPU-to-GPU
Offload Modeling
.
To generate command lines for selected perspective configuration, click the
Command Line
button.
Once the
Offload Modeling
perspective collects data, the report opens showing a
Summary
tab with performance metrics estimated for the selected target platform, such as estimated speedup, potential performance bottlenecks, and top offloaded loops. Depending on the selected accuracy level and perspective properties, continue to investigate the results. See Explore Offload Modeling Results

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.