Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
663 Discussions

Can't get profiled data shown in Vtune Profiler

DongWang-BJTU
New Contributor I
1,162 Views

Hi, I am using Vtune profiler v2020 update 1 with Intel FPGA OpenCL SDK v20.1, and I am trying to read the profiled data with vtune. However, I could not get the CPU/FPGA interaction tab as described in the documents.

This is what I got:

fpga.PNG

 

This is what is shown in the online document https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/platform-analysis-group/cpu-fpga-interaction-analysis-preview.html

doc.PNG

 

As compared above, there is no CPU/FPGA interaction tab in my tool. How could I get it displayed ?

The vtune is running in driverless mode with the following env set:
sudo sh -c "echo 0 > /proc/sys/kernel/perf_event_paranoid"
sudo sh -c "echo 0 > /proc/sys/kernel/yama/ptrace_scope"

The Intel FPGA OpenCL SDK is v20.1 and OS is Ubuntu 16.04.

 

0 Kudos
2 Replies
EBERLAZARE_I_Intel
1,145 Views

Helo,

Can you confirm you had follow thoroughly the instruction at the bottom of the page in the "Configure and Run Analysis" section? You may have missed out some of the steps;

1. Please check if you had set up the project correctly:

https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-project.html

2. Select "CPU/FPGA Interaction" analysis type from the Platform Analysis group in the HOW Pane, in step no 3.

 

0 Kudos
DongWang-BJTU
New Contributor I
1,140 Views

Hi, the problem has been solved with the help of an AE.

One need to run the "aocl profile ./youhost -x yourKernel.aocx" command to manually generate the profile.json file before using the Vtune gui. Otherwise, vtune will not work correctly.

This information was not described in the user manual.

0 Kudos
Reply