I am a new to CUDA. I’d like to ask about sorting in CUDA.
Is it possible to sort arrays of primitive types in CUDA?
I have an array of an array of floats.
1st array: 1.0 2.0 0.5
2nd array: 1.0 1.1 1.0
3rd array: 3.2 2.0 0.1
I want to sort these arrays increasing in the last floats.
1st array: 3.2 2.0 0.1
2nd array: 1.0 2.0 0.5
3rd array: 1.0 1.1 1.0
Would this be possible in CUDA?
If so which algorithm can I use? Any suggestions?
Hope that makes sense,