No, you do not need to have a GPU/CPU image or anything else on your FPGA.
The Altera OpenCL SDK compiler takes your OpenCL program and compiles it to hardware description language in Verilog. This Verilog code is then compiled to FPGA programming file using Altera's standard tools. The SDK also provides libraries for automatically programming the FPGA with this programming file, as well as for communicating with the host CPU.
The whole process is not different than how you would run the same OpenCL program on the CPU or on an GPU.
--- Quote Start ---
Hi,
I am completely new to OpenCL for FPGAs.
My understanding previously was that OpenCL is a software framework for writing code that can execute across different CPUs and GPUs.
In order to use OpenCL for an FPGA, do I need to have a GPU or CPU image developed in HDL loaded on it first?
I'm confused as to how it would work in that one could just develop OpenCL C code, compile it and load it onto the FPGA.
Many thanks in advance.
--- Quote End ---