OpenCL kernel implementation with CPU-similar performance