Hello guys, i am starting in OpenCL and i have stumbled upon wierd behaviour. It is probably some basic thing but i can't figure it out. Any help appreciated.
I have following kernel function:

...