If I have two cudaMalloced arrays, I can swap them without memory movements by simply swapping the related pointers.
If I have two CUDA Thrust device_vectors, say d_a and d_b, I can swap them by using a third temorary vector, say d_c, but this will require memory movements.
My question is: is there a way to swap CUDA Thrust device_vectors without memory movements?

