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 package

algorithm

Free-form row-wise reduction library: the ReduceOp monoid trait, the rowwise scaffolder (Row / reduce / map / emit), and the Row-based pure reductions used by the graph reduction kernels.

Packages​

  • ​cpu: CPU backend for the row-wise reduction scaffolder.
  • ​gpu: GPU backend for the row-wise reduction scaffolder.

Modules​

  • ​reduce_op: Reduction monoid traits β€” the device-agnostic author surface.
  • ​rowwise: Unified row-wise reduction scaffolder.
  • ​rowwise_types: Target-neutral ContextParams + Context types for the row-wise reduction scaffolder. In its own module so the CPU and GPU backends can both import it without an import cycle through the unified rowwise dispatcher.