Repository navigation
Conversation
Signed-off-by: Raul Estrada <raulestradaa@gmail.com>
uurl
requested review from
elibol,
kkraus14,
nihalpasham and
rparolin
as code owners
October 8, 2026 07:46
This branch has not been deployed
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.
Closes #1449
Generated launchers now reject tensor arguments whose actual strides disagree with the compiled specialization. For example, runtime strides
[2, 1]are rejected when the specialization requires[1, 1], while[-1, 1]accepts the dynamic first-axis stride.The change preserves compiled strides in
TensorParamTypeand validates stride rank and constant axes for immutable inputs, mutable partitions, and mapped outputs. Validation also runs for compile-only requests.Output bindings expose their underlying tensor strides through
KernelOutputStored::strides(). Custom implementations of this trait must implement the new accessor.Regression coverage includes stride matching, compiler metadata propagation, underlying output strides, rejection of inconsistent specialization metadata before and after cache population, and successful execution with dynamic strides.
Validation
From the repository root:
All checks passed. The full runner passed its CPU/GPU suites, 24 examples, and all 8 benchmark smoke tests. Three examples were skipped because they require newer Tile IR versions than the installed 13.2.