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

PDLLevel

struct PDLLevel

Programmatic Dependency Launch (PDL) level.

Implemented traits

AnyType, Copyable, Defaultable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

comptime members

NO_WAIT_OVERLAP_AT_END

comptime NO_WAIT_OVERLAP_AT_END = PDLLevel(3)

PDL no-wait overlap at end of kernel.

OFF

comptime OFF = PDLLevel(0)

PDL disabled.

OVERLAP_AT_BEGINNING

comptime OVERLAP_AT_BEGINNING = PDLLevel(2)

PDL overlap at beginning of kernel.

OVERLAP_AT_END

comptime OVERLAP_AT_END = PDLLevel(1)

PDL overlap at end of kernel.

Methods

__init__

__init__() -> Self

Initialize the PDL level to OFF.

__init__(level: Int) -> Self

Initialize the PDL level.

Args:

  • level (Int): The PDL level to initialize.

__eq__

__eq__(self, other: Self) -> Bool

Check if the PDL level is equal to another PDL level.

Args:

  • other (Self): The other PDL level to compare against.

Returns:

Bool: True if the PDL level is equal to the other PDL level, False otherwise.

__eq__(self, other: Int) -> Bool

Check if the PDL level is equal to another PDL level.

Args:

  • other (Int): The other PDL level to compare against.

Returns:

Bool: True if the PDL level is equal to the other PDL level, False otherwise.

__ne__

__ne__(self, other: Self) -> Bool

Check if the PDL level is not equal to another PDL level.

Args:

  • other (Self): The other PDL level to compare against.

Returns:

Bool: True if the PDL level is not equal to the other PDL level, False otherwise.

__gt__

__gt__(self, other: Self) -> Bool

Check if the PDL level is greater than another PDL level.

Args:

  • other (Self): The other PDL level to compare against.

Returns:

Bool: True if the PDL level is greater than the other PDL level, False otherwise.

__ge__

__ge__(self, other: Self) -> Bool

Check if the PDL level is greater than or equal to another PDL level.

Args:

  • other (Self): The other PDL level to compare against.

Returns:

Bool: True if the PDL level is greater or equal to the other PDL level, False otherwise.