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 struct
PDLLevel
struct PDLLevel
Programmatic Dependency Launch (PDL) level.
Implemented traitsβ
AnyType,
Copyable,
Defaultable,
Deinitable,
ImplicitlyCopyable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
NO_WAIT_OVERLAP_AT_ENDβ
comptime NO_WAIT_OVERLAP_AT_END = PDLLevel(Int(3))
PDL no-wait overlap at end of kernel.
OFFβ
comptime OFF = PDLLevel(Int(0))
PDL disabled.
ONβ
comptime ON = PDLLevel(Int(1))
PDL enabled with default behavior.
OVERLAP_AT_BEGINNINGβ
comptime OVERLAP_AT_BEGINNING = PDLLevel(Int(2))
PDL overlap at beginning of kernel.
OVERLAP_AT_ENDβ
comptime OVERLAP_AT_END = PDLLevel.ON
PDL overlap at end of kernel.
Methodsβ
__init__β
def __init__() -> Self
Initialize the PDL level to OFF.
def __init__(level: Int) -> Self
Initialize the PDL level.
Args:
- βlevel (
Int): The PDL level to initialize.
__eq__β
def __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.
def __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__β
def __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__β
def __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__β
def __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.