Test mismatch with thrust::device in __device__ code.