Forum Discussion

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

Kernel Execution Time

HI everyone

I am currently learning Loop Unrolling Implementation, from the report, i currently able to get the Estimated Resource Usage Summary report

by using the command aoc -c <kernel_name>.cl --report

But i would like to know how to get the estimated execution time for the kernel??

Thanks

3 Replies

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

    I am afraid there is no straightforward way of getting an estimation of execution time without fully compiling the kernel and running it on an actual FPGA.

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

    --- Quote Start ---

    I am afraid there is no straightforward way of getting an estimation of execution time without fully compiling the kernel and running it on an actual FPGA.

    --- Quote End ---

    i see, is there any recommend approaches to examine the code performance(while waiting the arrival of fpga)??

    Because, it's hard to know the performance/effect of Loop Unroll with the limited information.

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

    As a general rule of thumb, for loop unrolling you can assume that as long as the Initiation Interval(II) does not change, and you have not saturated the external memory bandwidth, performance will increase near-linearly with the unroll factor.