Forum Discussion
Altera_Forum
Honored Contributor
9 years agoWhich OpenCL APIs load kernels to FPGA?
Hello, I'm running a hello world OpenCL example. I notice that there are two API functions: clCreateProgramWithBinary and clEnqueueNDRangeKernel. I tried to measure the overhead of configuring ...
Altera_Forum
Honored Contributor
9 years ago@HRZ, since clCreateProgramWithBinary() comes earlier than the clEnqueueNDRangeKernel() how does it know how many instances of the kernel to configure in the fpga ?
In addition, if I queue two different NDRange kernels one after the other in the same command queue, and the clFinish() is after the second one, will they reside in the fpga at once or will the second one be loaded after the first had finished ?