upload batch to device
Mojo function 🡭
upload_batch_to_device
Section titled “upload_batch_to_device”fn def upload_batch_to_device(batch: FastqBatch, ctx: DeviceContextBase) -> DeviceFastqBatchStage and upload a nonempty CPU batch; return after transfer completion.
Args:
- batch (
FastqBatch) - ctx (
DeviceContextBase)
Returns:
DeviceFastqBatch
Raises: