Forum Discussion

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

Executing 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

12 Replies