Skip to main content
Log in

Mojo function

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.