OpenCL kernel implementation with improved performance with respect to
CPU