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

Mojo function

async_copy_commit_group

def 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()

Was this page helpful?