Is it possible to sort objects using the Thrust library? I have the following struct:
struct OB{
int N;
Cls *C; //CLS is another struct.
}
Is it possible to use thrust in order to sort an array of OB according to N? Can you provide a simple example on using thrust to sort objects? If thrust is not able to do so, is there any other CUDA libraries that allows me to do so?