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

launch_dependent_grids

def 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.