Is it possible to perform a bitwise xor, and, or on a __global uint * pointer in OpenCL? I’m trying to do this but compiler throws me an error.
The goal is to perform something like:
__global uint *p = an address on global memory
*p = some value
*(p ^ 1) = other value
In C we can manipulate pointers freely - can it be done on OpenCL?
Thanks in advance.