Skip to content

feat(vpto): add A2/A3 MGather lowering - #1370

Closed
castigli wants to merge 4 commits into
hw-native-sys:mainfrom
castigli:feature/a2a3-mgather-vpto-main
Closed

feat(vpto): add A2/A3 MGather lowering#1370
castigli wants to merge 4 commits into
hw-native-sys:mainfrom
castigli:feature/a2a3-mgather-vpto-main

Conversation

@castigli

Copy link
Copy Markdown
Contributor

Summary

  • lower A2/A3 GM-to-UB pto.mgather for Row and Elem coalescing
  • support Undefined, Zero, Clamp, and Wrap OOB modes with PTO-ISA uint32 index semantics
  • validate payload types, tile layouts, static partition bounds, addressing overflow, and 32-byte row alignment
  • expose pto.tile.mgather and add focused lit, PTODSL, and A3 numerical coverage

Validation

  • LLVM 19.1.7 Docker build: cmake --build build --target PTOASPythonPackage -j4
  • focused A2/A3 MGather lit RUN lines with FileCheck
  • PTODSL wrapper unit test: 1 passed
  • queued A3 Docker numerical tests: 8 passed (Row/Elem x Undefined/Zero/Clamp/Wrap)
  • changed-code compliance: tracked changes clean; unrelated untracked Dockerfile excluded

@castigli

castigli commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by two independently reviewable PRs:

Closing this combined draft to keep frontend and backend concerns separate.

@castigli castigli closed this Sep 1, 2026
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