[WIP][chore](feat) Sync main from branch main-dev - #1920
Open
kingsirvince wants to merge 19 commits into
Open
Conversation
* [ssbuffer](fix) insert fixpipe after producer * [ssbuffer](feat) add merge cube block pass Signed-off-by: fishofnanqi <1074959344@qq.com> --------- Signed-off-by: fishofnanqi <1074959344@qq.com> Co-authored-by: lrf22 <liurf1647@163.com>
Signed-off-by: liuhuan <liuhuan261@huawei.com>
Co-authored-by: shaoyiyang <shaoyiyang1@huawei.com>
Keep the two reserved pure-SIMT scratch pointers null until scratch allocation support is ready. Always append the DTData slot, using nullptr when device printing is disabled, so both launch paths match the kernel ABI. Signed-off-by: Ritsuka314 <Ritsuka@huawei.com>
…iton-lang#1868) * [tritonop](refactor) move gather_2d_simd to tutorials and add deprecation warning * fix precommit
Co-authored-by: shaoyiyang <shaoyiyang1@huawei.com>
Stop passing --enable-lib-call-no-inline=false to bishengir-compile for Ascend950 targets. The explicit override changes vendor code generation and regresses kernels that worked before it was introduced. Remove the target and compiler-capability helpers that were only used to append this option. Signed-off-by: zhanwei33 <22679270+zhanwei33@users.noreply.github.com> Co-authored-by: zhanwei33 <22679270+zhanwei33@users.noreply.github.com>
…ag (triton-lang#1866) * [ssbuffer](fix) Fall back when outer-scope double-buffer flag budget is exceeded Inter-core double-buffering in AddMultiBufferOuterScope allocates one output flag per transfer group via FlagIdManager::acquireId(), which starts above every existing sync flag (both inter-core transfer syncs and inter-core memref-dependency syncs). Hardware provides 15 usable flag IDs (0..14); flag ID 15 is reserved for pipe synchronization and must not be allocated to cross-core transfers. The pass now estimates the final max flag ID from the output flags actually acquired for the transfer groups and, when it would reach 15: - keeps the module in single-buffer mode (skipping only the double-buffer transformation and its load/store crossDeps tagging) if the budget pressure comes from the double-buffer itself, or - falls back with return code 2 (ERRCODE_IGNORED) if the input IR already carries a flag ID above 15, which this pass cannot fix. Previously the pass used a worst-case (maxFlagId + groupCount) estimate and either silently downgraded or failed on a distinct-flag count check that miscounted the legitimate pipe flag. Co-Authored-By: DeLong code * [UT](feat) add outer-scope flag-budget fallback test Add Outer-scope-flag-budget-fallback.mlir: input IR uses flags 1..8 across 8 transfer groups and requests inter-core double-buffering (inter_core_buf_count=2). AddMultiBufferOuterScope would push the output flag past MAX_FLAG_ID (14) and must fall back to single-buffer mode, leaving the IR unchanged (no new output flags 9+). * [ssbuffer](style) fix clang-format on flag-budget LDBG lines
* feat(conv2d): add conv2d op Add al.conv2d operation for TA. * fix(conv2d): tag conv2d kernels as mix (cube) kernels Add Conv2dOp to the existDot walk so it gets mix_mode="mix". * keep original stride and padding type
Signed-off-by: fishofnanqi <1074959344@qq.com>
* [ssbuffer](feat) extend scenario in splitmatmul Signed-off-by: fishofnanqi <1074959344@qq.com> * [ssbuffer](fix) fix operationIsFillZero coredump Signed-off-by: fishofnanqi <1074959344@qq.com> --------- Signed-off-by: fishofnanqi <1074959344@qq.com>
…1896) Signed-off-by: dingyi <dingyi79@huawei.com>
… step value (triton-lang#1892) Signed-off-by: fishofnanqi <1074959344@qq.com>
kingsirvince
requested review from
KanuaK,
WuTYSFG and
hongziqi
as code owners
September 2, 2026 09:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync main from branch main-dev