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: Nightly
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).

launch_dependent_grids

launch_dependent_grids()

Launches dependent grids that were previously configured to depend on the current grid.

This function triggers the execution of dependent grids that have been configured with a dependency on the current grid. It maps directly to the CUDA grid dependency control instruction for launching dependent grids.

Note:

  • Only supported on NVIDIA SM90+ (Hopper architecture and newer) GPUs.
  • Must be called by all threads in a thread block to avoid undefined behavior.
  • Typically used in multi-grid pipeline scenarios where one grid's completion should trigger the execution of other grids.