CPU/FPGA Interaction Analysis

Use the CPU/FPGA Interaction analysis to assess the balance between CPU and FPGA in systems with FPGA hardware that run SYCL applications.

Use the CPU/FPGA Interaction analysis to assess FPGA performance of executed kernels, overall time for memory transfers between the CPU and FPGA, and wait time impact on CPU and FPGA workloads.

Intel® VTune™ Profiler collects these FPGA device metrics:

Configure and Run Analysis

Follow this procedure to configure options for the CPU/FPGA Interaction analysis:

Prerequisites:

  1. Click the (standalone GUI)/ (Visual Studio IDE)Configure Analysis button on the Intel® VTune™ Profiler toolbar.

    The Configure Analysis window opens.

  2. In the WHAT pane,

    • Specify the host executable in the Application bar.

    • If applicable, specify arguments for the host application as Application parameters.

      CPU/FPGA Interaction Analysis

  3. In the HOW pane, click the Browse button.

    • Select CPU/FPGA Interaction analysis type from the Accelerators group.
    • Enter the CPU sampling interval in milliseconds.
    • Specify if the collection should include CPU call stacks.
    • Specify a source for the FPGA profiling data:
      • OpenCL Profiling API - This source profiles only the host application.
      • AOCL Profiler - This source profiles the host application as well as the design on your FPGA.

    Note

    To generate the command line for this configuration, use the Command Line button.

  4. Click the Start button to run the analysis.

Import FPGA Data collected with Profiler Runtime Wrapper

If you collected FPGA profiling data with the Profiler Runtime Wrapper in the format of a profile.json file, you can also import it to the VTune Profiler project.

To speed up the loading of the collected data, copy the profile.json to an empty folder and import that folder instead of the entire compilation directory.

See the FPGA Optimization Guide for information on generating the profiling data with the Profiler Runtime Wrapper (oneAPI applications only).

View Data

The CPU/FPGA Interaction analysis results appear in the CPU/FPGA Interaction viewpoint. The viewpoint contains these windows:

What's Next

Use the CPU/FPGA Interaction viewpoint to review the following:

See Also