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