title: Declaring an array of buffers in C++
body: <p>I am currently learning OpenCL and to build several kernels you need a buffer for each function, so you need an array of buffers. How do you build such a data structure? Can someone give me an example of a buffer struct so I can just declare an array of those structs?</p>