Forum Discussion

okramer's avatar
okramer
Icon for Occasional Contributor rankOccasional Contributor
6 years ago
Solved

Profiling data missing in aocl report for OpenCL kernel

I'm working with an Arria 10GX dev board. I'm trying to view profiling info using "aocl report" but the report doesn't give much info. Here's my kernel compilation command along with dumps: $ aoc -...
  • MEIYAN_L_Intel's avatar
    6 years ago

    Hi,

    I found that this is known issues in OpenCL SDK v19.3 and will be fixed in future.

    Could you try the workaround as steps below:

    1. Run "aocl binedit <aocx file> print .acl.profiler.xml > temp.txt"

    2. Open the temp.txt file (preferably in some program that can run find-and-replace)

    3. Run "aocl binedit <source file> print .acl.file.0" in order to get the full path of the file (note that if there are multiple source files this should be run with "acl.file.1" and so on)

    4. In temp.txt, find all the "filename" and :"file" sections, and replace those paths with the full paths found in the .source file

    5. Once all the filenames are changed in the temp.txt file, run "aocl binedit <aocx file> set .acl.profiler.xml temp.txt"

    Now the .aocx file should have the same full paths as the .source file, and the gui should open the source view.

    Thanks