Repository navigation
Conversation
reduction has two types (horizontal, vertical). tile is generated as 1D vector for point-wise operations.
To compute vector and scalar operand, expanding is necessary. Separate the LD/ST operations for vectors and scalars.
YunseonShin
requested review from
YWHyuk and
wok1909
and removed request for
YWHyuk and
wok1909
August 30, 2024 08:41
scratchpad base address is set by 0x0A000000. sub-tiling should be supported because of vector lanes. This version only supports vector addition case.
We add accumulation loop info dynamically. However, DMA bias load located out of the accumulation loop. But it's wait node is in the accumulation. This mismatch trigger Async dma key error. We avoid this error by using heuristic and we have to fix this in future
student-Jungmin
added a commit
that referenced
this pull request
Oct 9, 2026
…#38 and #39 The three compiler changes this branch needs are open as separate pull requests (replica reads through a gather or a merging collapse; the gathered axis matched by tensor axis; scalar parameters at launch and the shared-body foreach kernel). Until they land on main the pin is their merge, branch integration-torch214, so the CI image carries all three; it moves to main once they do.
student-Jungmin
added a commit
that referenced
this pull request
Oct 9, 2026
…m-Triton-Backend #37, #38, #39) The pass that lowered Inductor's shared-body foreach kernel is its own pull request now (#40), and nothing on npu asks for that kernel form since BackendFeature.FOREACH went, so the pin is the merge of the three the branch needs. test_mlp, test_add and test_swinv2 pass against it.
student-Jungmin
added a commit
that referenced
this pull request
Oct 9, 2026
…#38 and #39 The three compiler changes this branch needs are open as separate pull requests (replica reads through a gather or a merging collapse; the gathered axis matched by tensor axis; scalar parameters at launch and the shared-body foreach kernel). Until they land on main the pin is their merge, branch integration-torch214, so the CI image carries all three; it moves to main once they do.
student-Jungmin
added a commit
that referenced
this pull request
Oct 9, 2026
…m-Triton-Backend #37, #38, #39) The pass that lowered Inductor's shared-body foreach kernel is its own pull request now (#40), and nothing on npu asks for that kernel form since BackendFeature.FOREACH went, so the pin is the merge of the three the branch needs. test_mlp, test_add and test_swinv2 pass against it.
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.
pytorch backend compiler generates MLIR code.
This version only supports vector & scalar operations.