Repository navigation
fix(oxide-tilebc): write the fragment's symbolic shape as the 13.5 assembler reads it - #1556
Merged
nihalpasham merged 1 commit intoOct 20, 2026
Conversation
…sembler reads it
The CUDA 13.5 assembler keeps one integer-valued expression per fragment
dimension in the symbolic shape and rejects a rank mismatch ("concrete
shape cache rank 1 does not match symbolic shape rank 0"), so a .tilelib
written by cargo oxide tilelib failed to load there. The compiler trunk
switched on 2026-09-08 to holding only the dynamic dimensions, which is
what the writer produced for every version. Encode per version: full rank
below 13.6, dynamic-only from 13.6 on.
Checked with the 13.5.40 release toolkit: the disassembler reads the
implementation descriptor and the Tile C++ caller passes 3 of 3 through
the static library.
Signed-off-by: nihalpasham <[email protected]>
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.
What this adds
A
.tilelibwritten bycargo oxide tilelibnow loads on the CUDA 13.5 assembler.What we fixed
preview$fragment, one integer expression per dimension. The compiler trunk switched on 2026-09-08 to holding only the dynamic dimensions, and the writer produced that trunk form for every version.Implementation
oxide-tilebc's type table carries the bytecode version, and the fragment arm branches on it.Verification
Checked at
514be3a18:cargo oxide tilelib tilelib_relu --arch sm_120builds the library, its disassembler reads both descriptors, andcpp/tile_caller.cupasses 3 of 3 through it.Caveats