opencl kernel to do parallel reduction