Skip to content

[CPU] New data-tiling path through inner_tiled #24323

Closed

Description

@bjacob

This is a tracking issue for the project to implement a new CPU codegen path where data-tiled matmuls are materialized into inner_tiled ops instead of mmt4d. The inner_tiled op, which was originally designed to represent GPU matrix multiplication kernels, gets generalized to cover CPU use-cases, including scalable vectors. The limitations of layout generality inherent to mmt4d are overcome, as inner_tiled can represent arbitrary layouts, reusing the compiler framework with TileSwizzle data structures originally developed for GPU and now shared with CPU. The inner_tiled ops are then lowered to CPU intrinsics represented as llvm.call_intrinsic ops, sharing the existing GPU logic to lower inner_tiled ops to intrinsics. In the final phases of this project, GPU microkernel frameworks (MLIR and/or C) will be ported over to CPU, providing an alternative to the current CPU microkernel framework.

A longer write-up on this project, with more motivation, is here: https://hackmd.io/ti1_aQYbQK2rn0YUM1lFKQ

Tasklist (each line is one PR):

Activity

  1. self-assigned this
    on Apr 30, 2026
  2. added
    codegen/llvm
    on Apr 30, 2026
  3. added theissue type on Apr 30, 2026
  4. 169 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

codegen/llvm

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions