Forum Discussion

mvemp's avatar
mvemp
Icon for New Contributor rankNew Contributor
7 years ago

How is accelerator frequency decided in OpenCL designs?

If the opencl description contains multiple kernels connected with each other using channels, how is the frequency decided? Is it the kernel with least frequency? What about the frequency for isolated kernels (no communication to other kernels) in the same design? Does the frequncy depend upon the memory bandwidth of the FPGA board?

2 Replies

  • HRZ's avatar
    HRZ
    Icon for Frequent Contributor rankFrequent Contributor

    A quick summary:

    • The same kernel clock is used for all kernels in the same CL file (which get placed and routed as one FPGA image). The operating frequency will be limited by the slowest kernel is the CL file. Whether the kernels are connected or not will not make a difference.
    • Kernel operating frequency is not affected the external memory bandwidth of the FPGA, but the external memory bandwidth can be affected by the kernel operating frequency.