Altera_Forum
Honored Contributor
12 years agoExecuting Multiple kernels on Altera FPGA
Hi ,
I am trying to port multiple kernels onto FPGA. The online material on Altera OpenCL compilation suggests to have all the kernels in a single cl file. Can anyone please tell me the steps to compile such a file. I have a gpu based opencl code that has a intelligence of picking the kernel binary file if its already present. The binary for Altera FPGA can be generated by offline compiling the kernel. In case of GPU, the binaries are seperate for each kernels. By having all the kernels in a single file all that we generate is a single aocx binary file. My question now is how should i link the appropriate kernel functions with the clCreateProgramObject routine of OpenCL implementation ???? I hope you have understood the question Thanks