Test transform_reduce with thrust::device in __device__ code.