Forum Discussion
Altera_Forum
Honored Contributor
11 years agoOdd clBuildProgram function error
Hi everyone, I am actually working on implementing an existing GPU OpenCL benchmark on an FPGA. Recently I am stucked on a really strange problem: I am trying to run the simulation of one of the k...
Altera_Forum
Honored Contributor
11 years agoOh I meant if the program object in both was created the same way, but if you're using the same section of code in both host, then i'm not too sure.
The only thing I can think of is maybe the difference between GPU and FPGA. If your host code was targeting the GPU in the beginning, there is some difference as to what you need to do when you target the FPGA. For example, when building the program object, you have to create the program object from binary when working with the .aocx file as opposed to GPU where you can build the program object from source.