Altera_Forum
Honored Contributor
12 years agoopencl program and kernel object limits + retaining buffers
Hi,
I'm currently experiencing problems when creating a number of program objects under OpenCL, I'm getting "host out of memory" errors on a Stratix D5 FPGA. I believe that I may be hitting a limit in the Altera OpenCL implementation of 20, as the problem always occurs on the creation of the 21st kernel. Similarly the AOCL programming guide also seems to indicate that there is a limit on the number of kernels per FPGA device of 32. Is this the maximum number of kernels which can be on a FPGA simultaneously (ie in one aocx file) or is it the total number of kernel objects which can be created within an overall program? For both the program and kernel objects is it possible to increase these limits? If not are there reasons for setting them to these levels? And would it be possible to request an increase in a future release of the Altera OpenCL implementation? Similarly as I understand it all OpenCL buffers are wiped from the FPGA card memory during a reconfiguration (ie when loading a new aocx file). Is this correct? And if so would it be possible for this to be changed in a future release of the OpenCL implementation? Many thanks