Test inner_product with thrust::device in __device__ code.