pairwise parallel comparison

In “Gem 3” Chapter 39, they talked about Radix Sort on CUDA, second part is doing bitonic merge sort, but for the pairwise parallel comparison, is it in some CUDA library? if not, how can we efficiently implement it on CUDA?


No, it’s all done in CUDA, no library. The details on the latest CUDA radix sort are here:

Code here: