Skip to content

upload batch to device

Mojo function 🡭

fn def upload_batch_to_device(batch: FastqBatch, ctx: DeviceContextBase) -> DeviceFastqBatch

Stage and upload a nonempty CPU batch; return after transfer completion.

Args:

  • batch (FastqBatch)
  • ctx (DeviceContextBase)

Returns:

DeviceFastqBatch

Raises: