Skip to content

[ssbuffer](fix) hoist tensor.empty - #1897

Open
ohblacks wants to merge 1 commit into
triton-lang:main-devfrom
ohblacks:if-split-tensor
Open

[ssbuffer](fix) hoist tensor.empty#1897
ohblacks wants to merge 1 commit into
triton-lang:main-devfrom
ohblacks:if-split-tensor

Conversation

@ohblacks

@ohblacks ohblacks commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

…e groups

Add hasMixedCoreTypes filter so only scf.if with mixed matmul/VECTOR core-type groups (CVC or VCV) are split, merge consecutive same core-type groups to always produce a 3-way split, and remove chunkwise_fwd_kernel from the skip list.

New contributor declaration

  • I am not making a trivial change, such as fixing a typo in a comment.

  • I have written a PR description following these
    rules.

  • I have run pre-commit run --from-ref origin/main --to-ref HEAD.

  • Select one of the following.

    • I have added tests.
      • /test for lit tests
      • /unittest for C++ tests
      • /python/test for end-to-end tests
    • This PR does not need a test because FILL THIS IN.
  • Select one of the following.

    • I have not added any lit tests.
    • The lit tests I have added follow these best practices,
      including the "tests should be minimal" section. (Usually running Python code
      and using the instructions it generates is not minimal.)

…e groups

Add hasMixedCoreTypes filter so only scf.if with mixed matmul/VECTOR
core-type groups (CVC or VCV) are split, merge consecutive same
core-type groups to always produce a 3-way split, and remove
chunkwise_fwd_kernel from the skip list.
@github-actions github-actions Bot added compiler Changes to C/C++ compiler backend (lib/, include/) python Changes to Python runtime or bindings ascend-backend Changes to the Ascend NPU backend labels Sep 1, 2026
@ohblacks ohblacks changed the title [SplitIfByBlockId] split scf.if into 3 ifs for CVC/VCV mixed core-type [SplitIfByBlockId] hoist tensor.empty Sep 2, 2026
@ohblacks ohblacks changed the title [SplitIfByBlockId] hoist tensor.empty [ssbuffer](fix) hoist tensor.empty Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ascend-backend Changes to the Ascend NPU backend compiler Changes to C/C++ compiler backend (lib/, include/) python Changes to Python runtime or bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant