Skip to content

feat(ptodsl): expose tile MGather - #1427

Draft
castigli wants to merge 2 commits into
hw-native-sys:mainfrom
castigli:feature/ptodsl-mgather-api
Draft

feat(ptodsl): expose tile MGather#1427
castigli wants to merge 2 commits into
hw-native-sys:mainfrom
castigli:feature/ptodsl-mgather-api

Conversation

@castigli

@castigli castigli commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expose the existing pto.mgather IR operation as public pto.tile.mgather
  • support explicit Row/Elem coalescing, all GatherOOB values, and optional GM scratch
  • add wrapper dispatch and real compiler-level MLIR coverage
  • verify the generated PTODSL kernel through the existing EmitC lowering to MGATHER<Coalesce, GatherOOB>

This PR is frontend-only and does not depend on the A2/A3 VPTO MGather lowering.

Validation

  • test_vector_cube_ops.py: 61 passed
  • ptodsl_jit_compile: passed
  • ptodsl_ptoas_frontend_verify: passed, including PTOAS EmitC generation
  • Python syntax validation: passed
  • changed-code compliance: 0 errors, 0 warnings

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