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

WorkInfo

struct WorkInfo

Holds the coordinates and validity state of a single output tile assigned to a CTA.

Fields

  • m (UInt32):
  • n (UInt32):
  • is_valid_tile (Bool):
  • terminate (Bool):

Implemented traits

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable, Writable

Methods

__init__

def __init__() -> Self

is_valid

def is_valid(self) -> Bool

Returns:

Bool

is_done

def is_done(self) -> Bool

Returns:

Bool

write_to

def write_to(self, mut writer: T)