minor improvements on CL kernels.