Test set_intersection with thrust::device in __device__ code.