A sorting algorithm for GPU and for arrays of longs (8 bits) ?

Hello,

I’m using an Ubuntu 64 bits and I’m searching an algorithm to sort an array of longs (8 bits). I saw there are some algorithms to execute the radix sort on arrays of float or uinteger (4 bits each), but I can’t find one fore arrays of longs (8 bits).

Does someone know a way either to get an algorithm to sort array of longs, or to adapt the radixSort of the SDK so it can sort arrays of longs.

Thank you !!

The radix sort from the Thrust library works for longs.

The radix sort from the Thrust library works for longs.

Thank you, I tried the radix sort of the SDK and a quicksort found on the web, but the only manage float and uinteger. Thrust provides multiple sorting algorithms and they all worked for longs :)

Thank you, I tried the radix sort of the SDK and a quicksort found on the web, but the only manage float and uinteger. Thrust provides multiple sorting algorithms and they all worked for longs :)