Fixing output bug for OpenCL