Skip to content

feat: add B11 indexed concat and exact fillpad - #2192

Open
hashiqiqixian wants to merge 5 commits into
hw-native-sys:mainfrom
hashiqiqixian:feat/ptoas-b11-concat-fillpad
Open

feat: add B11 indexed concat and exact fillpad#2192
hashiqiqixian wants to merge 5 commits into
hw-native-sys:mainfrom
hashiqiqixian:feat/ptoas-b11-concat-fillpad

Conversation

@hashiqiqixian

Copy link
Copy Markdown
Contributor

Summary

  • add the tile.concat_idx IR, Python IR/DSL APIs, destination-reuse type contract, and exact pto.tconcatidx lowering
  • correct tile.fillpad_inplace lowering from legacy pto.tfillpad to exact pto.tfillpad_inplace
  • add focused IR/codegen coverage and update the English/Chinese PTOAS documentation and status matrix

Validation

  • remote serial build: cmake --build build --parallel 1
  • Ruff check/format: passed for all changed Python files
  • focused unit tests: 4 passed
  • A2/A3 pto.tfillpad_inplace task-submit validation: zero/max/min modes, 3/3 passed
  • pto.tconcatidx: PTOAS v0.53 compilation succeeds; two isolated A2/A3 executions (boundary-free legal counts included) reproducibly raise CCU instruction address check error and scheduler S1:running-stalled, so same-name hardware ST remains blocked and is documented as such

Notes

This branch is based directly on upstream main and is independent of the earlier PTOAS batch PRs.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@hashiqiqixian, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 9 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 817182e1-ddf0-4e4e-84ec-693274a65d1f

📥 Commits

Reviewing files that changed from the base of the PR and between 478ddad and 910182a.

📒 Files selected for processing (12)
  • docs/en/dev/codegen/00-pto_codegen.md
  • docs/en/dev/ptoas-op-status.md
  • docs/zh-cn/dev/codegen/00-pto_codegen.md
  • docs/zh-cn/dev/ptoas-op-status.md
  • python/pypto/ir/op/tile_ops.py
  • python/pypto/language/__init__.py
  • python/pypto/language/op/__init__.py
  • python/pypto/language/op/tile_ops.py
  • src/backend/common/pto_ops_elementwise.cpp
  • src/ir/op/tile_ops/transform.cpp
  • tests/ut/codegen/test_pto_codegen.py
  • tests/ut/ir/operators/test_concat_idx.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant