Forum Discussion

CLiu18's avatar
CLiu18
Icon for New Contributor rankNew Contributor
7 years ago

How to declare a static array in OpenCL kernel?

In the OpenCL kernel, I need to declare a static array (buffer) such that the data in the array (buffer) retains when the kernel gets launched iteratively. This is particularly useful for iterative ...