IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo struct

SchedulingStrategy

struct SchedulingStrategy

Scheduling strategy for pipeline op ordering.

IDENTITY: Declaration order (no scheduling). GREEDY: Greedy greedy_schedule() heuristic. CSP: Backtracking CSP solver (provably optimal).

Implemented traits​

AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDestructible, Movable

comptime members​

CSP​

comptime CSP = SchedulingStrategy(2)

GREEDY​

comptime GREEDY = SchedulingStrategy(1)

IDENTITY​

comptime IDENTITY = SchedulingStrategy(0)

Methods​

__eq__​

__eq__(self, other: Self) -> Bool

Returns:

Bool

__ne__​

__ne__(self, other: Self) -> Bool

Returns:

Bool