Hi Jonathan,
thanks for your answer. i was abke to rearrange my threads so that one thtead only mod. one uint8.
but in the case of nearest neighbors this is mich more difficult, since i do not know what neighbor i will find in a specific thread.
i also tried to include semaphores but somehow these does not work correctly in opencl.
do you know if the atomic_or is able to do the synchronization?
i will try this, and report if it works.
thanks and ciao

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.