Skip to main content

Mojo module

grid_controls

GPU grid dependency control (deprecated - use gpu.primitives.grid_controls or gpu).

This module is deprecated. For new code, import grid control operations from the gpu package or gpu.primitives.grid_controls module:

# Deprecated:
from gpu.grid_controls import PDL, PDLLevel, launch_dependent_grids

# Recommended (import from top-level gpu package):
from gpu import PDL, PDLLevel, launch_dependent_grids

# Or import the module:
from gpu.primitives import grid_controls

This module provides Hopper PDL (Programmable Distributed Launch) operations for controlling grid dependencies on NVIDIA GPUs.

Was this page helpful?