Enable CUDA's set_intersection_by_key algorithm in __device__ code.
Test set_intersection_by_key with thrust::device in __device__ code.