Optimizing picture histogram parallel on CUDA cores