Merged
Conversation
Constants, tensor views, and other operations emitted before emit_block! now get the kernel's source location instead of loc(unknown). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
get_subprogram! now takes a SourceLocation instead of just the method, so it always has file/line context regardless of Julia version. Previously it created subprograms with <unknown> file on 1.11, causing cuda-tile-translate verification failures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
On 1.11, Core.LineInfoNode contains a Module field which cannot be deepcopied. Sever the Block→SCI parent backref before deepcopy to avoid pulling in debuginfo_table, then reassemble. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Follows Julia's own pattern. IRStructurizer now defines Base.copy(::StructuredIRCode) which shares the read-only debuginfo_table and copies the mutable block tree. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Demo with
vaddfrom the README:It's ironic that cuTile.jl now has full debug info before CUDA.jl...