Skip to content

feat(mlir): hardware register tile budgets and target operand lowerings (#666) - #1476

Merged
godofecht merged 2 commits into
mainfrom
feat/666-register-tiles-budget-targets
Oct 12, 2026
Merged

godofecht merged 2 commits into
mainfrom
feat/666-register-tiles-budget-targets

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

Completes remaining deliverables for #666.

  • Adds target-specific register tile capacity defaults (AMX: 1024, SME: 4096, NVVM: 512, generic: 256).
  • Emits target-specific operand types for AMX, SME, and NVVM intrinsics.
  • Adds hardware-exact register-tiled 4x4 outer-product GEMM micro-kernel benchmark in benchmarks/micro/gemm_micro_kernel.flow against reference BLAS.
  • Updates tests/scripts/mlir_register_tiles.flow to verify target operand signatures and absence assertions.

Verification

  • ./flow tool tests/scripts/mlir_register_tiles.flow passed (12/12).
  • FLOW_LDFLAGS="-framework Accelerate" ./flow run benchmarks/micro/gemm_micro_kernel.flow passed (128x128 and 256x256).
  • ./compiler/scripts/bootstrap_from_c.sh --verify passed.
  • ./flow tool compiler/scripts/self_host_full.flow passed (3 generations byte-identical).
  • ./flow tool compiler/scripts/roundtrip.flow passed.
  • ./flow tool python_ratchet && ./flow tool shell_ratchet passed.
  • ./flow test-mlir passed (5/5).

Add target-specific register tile capacity defaults and operand lowerings for AMX, SME, and NVVM.
Add hardware-exact register-tiled 4x4 outer-product GEMM micro-kernel benchmark against reference BLAS.
Add tests verifying operand types for matrix accelerator target intrinsics.
@godofecht
godofecht enabled auto-merge October 12, 2026 02:14
@godofecht
godofecht added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit ba13f24 Oct 12, 2026
30 checks passed
@godofecht
godofecht deleted the feat/666-register-tiles-budget-targets branch October 12, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant