gpu code: partial srts sort with multireduce, scatter, gather, histogram; histogram code by shams and kennedy