Skip to main content
Log in

Mojo struct

PDL

struct PDL

Programmatic Dependency Launch (PDL) control structure.

This struct provides a way to manage programmatic stream serialization on NVIDIA GPUs. It includes functions for launching dependent grids and waiting for them to complete.

Note: - Only supported on NVIDIA SM90+ (Hopper architecture and newer) GPUs.

Implemented traits

AnyType, UnknownDestructibility

Methods

__init__

__init__(out self)

Initialize the PDL control structure.

__enter__

__enter__(self)

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

__exit__

__exit__(self)

Wait for all dependent grids launched by this grid to complete execution.