implemented histogram_gpu