Pointers work in OpenCL but you cannot pass a pointer from the host code to the client code (what runs on the CL device). This makes sense because your GPU obviously cannot reference the memory of the CPU because it has its own dedicated memory - which has a completely different address space.
Where are you trying to perform this? It should work well in your kernel code.