static inline nd::array To(const nd::array &a, unsigned int cuda_host_flags = cudaHostAllocDefault) {
   return a.to_cuda_host(cuda_host_flags);
 }