Got rid of all OpenCL errors thanks to CodeXL.