Can Thrust functions be made to use multiple-GPU's for their computations, if available? I have written this Thrust code which works just fine with a single GPU. (Tesla C2050) But I have three other Tesla C2050 cards attached to the machine which I would like to use for my computations.
I know that with multiple GPU's attached to a machine, I can run one CUDA kernel per GPU in parallel i,e, kernel 0 on device 0, kernel 1 on device 1, etc.. But in my case I would like to use all the 4 GPU's on a single thrust function invocation like say thrust::sort. Is this possible?