What's algorithm of ordination the library Thrust (CUDA) uses? (i.e. quick sort, merge sort)
AFAIK Thrust uses two sorting algorithms:
Which algorithm is used depends on the data type being sorted (Radix Sort is used for primitive types, Merge Sort for the rest).