IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0.0b1
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

async_copy_commit_group

async_copy_commit_group()

Commits all prior initiated but uncommitted cp.async instructions into a cp.async-group.

This function creates a new cp.async-group containing all previously initiated but uncommitted asynchronous copy operations. The group can then be waited on using async_copy_wait_group().

Notes:

  • Only supported on NVIDIA GPUs
  • Maps to the cp.async.commit.group PTX instruction
  • Used for managing asynchronous memory transfers
  • Should be paired with async_copy_wait_group() or async_copy_wait_all()