Test uninitialized_copy with thrust::device in __device__ code.