flashinfer.comm.mnnvl.alloc_and_copy_to_cuda¶
- flashinfer.comm.mnnvl.alloc_and_copy_to_cuda(host_ptr_array: List[int]) int | None ¶
A helper function that allocates memory on cuda and copies the data from the host to the device.
A helper function that allocates memory on cuda and copies the data from the host to the device.