I send a single int to the kernel.
Every thread either updates that int with a '1' or doesn't update the int at all.
I then want to read the int back.
1. Is this possible in OpenCL? (I know it's possible in CUDA)
2. Is there a special way to read back one int that I'm unaware of?
Thanks in advance.