After some initial work with CUDA and CUBLAS I am now implementing a medical imaging reconstruction algorithm. Somewhere along the way i am going to have 3 vectors each containing x,y or z coordinates. I will have to check those 3 vectors and eliminate some unwanted points(ex: if x1<0, eliminate x1,y1 and z1) and after doing that, I am going to sort the vectors according to the x or z coordinate.
I have seen an hello world of sorts for CUDPP and my question is: can I input 3 vectors with CUDPP and stream compact them at the same time like the example I showed before? Likewise, I would like to know if I can do something similar with sorting(having 3 different vectors, sort them according to the coordinates of only one of them).
I am almost certain CUDPP does not allow me to do that, so I will probably have to write the algorithms myself, or go serial with them.
Thanks in advance