Recently I stumbled upon this tutorial [ The Big Blob » Getting started with OpenCL and GPU Computing ]. I copied it and ran it (the only change made was changing the CL_DEVICE_TYPE_DEFAULT to CPU.) Now, this is where the weirdness started. I've attached the output and I don't understand why I'm seeing the results that I am. Was there an uninitialized variable?