Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Visualization for Channel

Hi everyone,

According to the Altera SDK for OpenCL Programming Guide, AOCL is supposed to generate a graphical report on channel connectivity across multiple kernels. However, I could not find this graphical report anywhere after compilation. It is not in the log files, and the aocl vis tool doesn't show any channel connectivities either.

Does anybody know where I could find the graphical report for channel connectivity, or if there is a directive to aoc that forces the compiler to generate this graphical report?

Thanks!

Ryan

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I too would like to know how to do this. What does the vis tool do for you? For me it just crashes. I used the following command:

    aocl vis kernelfile.aocx
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    AFAIK vis tools doesn't show channel, only the number of LSUs fand connections to global memory. It crashes in some kernels, for unknown reason. But in Linux you can get around it by constantly clicking ignore when java runtime error messages pops up. The visualizer will launch but some of graph could be missing.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I just discovered the visualizer and I like the way it shows the link between the lines of code and the used resources. But I cannot find any documentation regarding the visualizer. I would like to know the capabilities of the visualizer. I can do this by trial-and-error, but if there is documentation this would be nice.

    Regarding crashing, I have it crash on kernels compiled for the emulator. For (two) others I have no problems.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ryan

    If you run aocl vis <file>.aoco on the object file created during compilation, it will give you a diagram of all connectivity. I think this may be what you are looking for.

    Hope this helps.

    Drew