Added a gpu function to compute integer points.