Avoid __host__ __device__ warnings.