prototype of gpusort kernel functions