I know there are lot of sorting algorithms developed for GPU and CUDA but I want to try bitonic sort provided in NVIDIA CUDA samples. As I briefly looked into the code, it works for <key,value> pairs.
How could I use it if I just want to sort an array of data? I dont want to create temporary array to simulate <key,value>pair.
Any help will be appreciated.