OpenCL kernel implementation v0.6.1