Altera_Forum
Honored Contributor
9 years agoMulti kernel function local memory resource
I would like to implement CNN using OpenCL and run on FPGA.
The CNN implementation will contain 4 kernel function layer1_kernel, supposed allocate 1 MB local memory layer2_kernel, supposed allocate 1 MB local memory layer3_kernel, supposed allocate 1 MB local memory layer4_kernel, supposed allocate 1 MB local memory Host program will call clEnqueueNDRangeKernel() function in sequence. that is, pervious kernel need finished, then the next kernel will be enqueued. What is the total RAM block resource to be used? 4MB or 1MB? Thanks, Matt