I seem to understand I cannot pass down/return 2-dimensional arrays in OpenCL (declared smt like float** for example in the kernel signature).
Is there a way to work around this? Can I for example pass-down/return an array of float4 vectors?
Just to give a bit of background, the issue here is that I cannot flatten this data out into separate buffers because it's dynamically determined by one of the other input parameters.
Any help/suggestions appreciated (examples welcome too)!