Test swap_ranges with thrust::device in __device__ code.
Test swap_ranges with thrust::device in __device__ code.

sarvex/thrust,arnabgho/thrust,dachziegel/thrust,thrust/thrust,xiongzhanblake/thrust_src,sdalton1/thrust,xiongzhanblake/thrust,xiongzhanblake/thrust_src,raygit/thrust,zeryx/thrust,thvasilo/thrust,mohamed-ali/thrust,jaredhoberock/thrust,egaburov/thrust,Ricardo666666/thrust,xiongzhanblake/thrust,sdalton1/thrust,jaredhoberock/thrust,egaburov/thrust,sarvex/thrust,dachziegel/thrust,jaredhoberock/thrust,zhenglaizhang/thrust,jaredhoberock/thrust,mohamed-ali/thrust,andrewcorrigan/thrust-multi-permutation-iterator,arnabgho/thrust,sarvex/thrust,marksantos/thrust,andrewcorrigan/thrust-multi-permutation-iterator,marksantos/thrust,jaredhoberock/thrust,sdalton1/thrust,dachziegel/thrust,Ricardo666666/thrust,arnabgho/thrust,mohamed-ali/thrust,zhenglaizhang/thrust,GrimDerp/thrust,Ricardo666666/thrust,thrust/thrust,GrimDerp/thrust,raygit/thrust,egaburov/thrust,marksantos/thrust,thrust/thrust,andrewcorrigan/thrust-multi-permutation-iterator,thrust/thrust,zeryx/thrust,raygit/thrust,zhenglaizhang/thrust,xiongzhanblake/thrust_src,zeryx/thrust,thvasilo/thrust,thvasilo/thrust,thrust/thrust,xiongzhanblake/thrust,GrimDerp/thrust