Forum Discussion

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

Where to get the synthesis report of the OpenCL kernel?

For each OpenCL kernel, I want to get the exact resource utilization(after PAR) and frequency. But, I do know where they exist?

5 Replies

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

    If you navigate to the sub-directory named after the kernel file you'll find report files in there containing information. I don't have a compiled project on this machine but the files to look for have .rpt file extensions.

    Note: it's not expected that OpenCL users will be digging around in hardware reports so the way this information is presented/stored may change in later versions of the tools.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have checked the .rpt and .summary files and have gotten the exact resource utilization. Thanks.

    However, I can not find the operating frequency in the .rpt files.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I went ahead and compiled a small kernel so that I can look at the output file set. I recommend using the file called "acl_quartus_report.txt" which will contain the hardware resources and kernel clock frequency. The kernel 1x clock is what the kernel logic (all the kernels in the .cl file) operate at in the hardware.

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

    Yes, "acl_quartus_report.txt" contains the kernel clock frequency. Is there any file report about whether the timing constraint of the kernel is satisfied at the given clock frequency?

    --- Quote Start ---

    I went ahead and compiled a small kernel so that I can look at the output file set. I recommend using the file called "acl_quartus_report.txt" which will contain the hardware resources and kernel clock frequency. The kernel 1x clock is what the kernel logic (all the kernels in the .cl file) operate at in the hardware.

    --- Quote End ---