IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /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, Deinitable, Equatable, ImplicitlyCopyable, Movable

comptime members

CSP

comptime CSP = SchedulingStrategy(Int(2))

GREEDY

comptime GREEDY = SchedulingStrategy(Int(1))

IDENTITY

comptime IDENTITY = SchedulingStrategy(Int(0))

Methods

__eq__

def __eq__(self, other: Self) -> Bool

Returns:

Bool

__ne__

def __ne__(self, other: Self) -> Bool

Returns:

Bool