Altera_Forum
Honored Contributor
12 years agoConstant Caching Query
Hi
I am currently dealing with optimizing Multikernel opencl app targetted to Altera FPGA. I have two arguments acroos two kernels of type const _constant roughly taking 20 Kbytes each I also have arguments of type const __global. I did refer the documentation regarding this in the form of Optimization guide. Is the constant cache optimization only for __constant type arguments or is it also for const __global type arguments ? With my case should the value specified for the --const-cache-bytes be 40 or should it be more. How should I decide on the value to be specified for ? Is there any limit on it ? Thanks