I'm looking to sort a SoA struct in cuda using thrust (I'm open to use other kind of CUDA primitives). To be more clear, I have a huge typedef struct like this:
typedef struct
{
int *a; ///< a "a" vector
double *b; ///< a "b" vector
char *c; ///< a "c" vector
...
int *keys; ///< the key vector
}some_type;
the vectors pointers a,b,c and so on, are allocated using cudaMalloc at the begiing. Any suggestion? Thanks...
