Can someone explain me why this code doesn't work?
When I try to read the value of currentPosition after the increment I get the same result as when I don't do the arithmetic.
Why is this happening?
Thank you.
__kernel void foo(__global const void* a) { __global const uchar* currentPosition = (__global uchar*) a; // Update the position currentPosition += 4; }