Skip to main content

Mojo struct

WorkInfo

struct WorkInfo

Fields

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

Implemented traits

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

Methods

is_valid

is_valid(self) -> Bool

Returns:

Bool

coord

coord(self) -> Tuple[Int, Int]

Get (m, n) tile coordinates as a tuple.

Returns:

Tuple

write_to

write_to(self, mut writer: T)

Was this page helpful?