How can I pass an generic pointer as an arguement?

I want to launch a kernel from a kernel, and I need to pass a reference, but I cant pass the pointer because it doesn’t let me.
What can I do?

In the future, you might show exactly what you’re trying to do and provide the exact error you’re getting, so folks can give you specific feedback on that.

Without that, I’d suggest you read in the OpenCL 2.2 Spec everything related to “pointer”. I’d also read the entire section “3.3: Memory Model” including the parts describing “Shared Virtual Memory”.