new histogram_gpu implementation