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

PsMetadata

struct PsMetadata

Holds the persistent-scheduling work partition built on the host.

Stores work_indptr (prefix-sum of work counts per thread-group, length available_tgs+1) and work_info (flat WorkInfo records, 8 int32 each) that the persistent GPU kernel (S2) consumes to drive its grid.

Fields​

  • ​work_indptr (List[Int32]):
  • ​work_info (List[Int32]):
  • ​num_works (Int):

Implemented traits​

AnyType, Copyable, ImplicitlyDeletable, Movable

Methods​

__init__​

def __init__(out self)

Was this page helpful?