Skip to main content
Log in

Mojo function

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

Note: - 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()