Upgrade modern backend to LLVM 21.1.8 and CUDA 13.3 - #3
Draft
brandonros wants to merge 10 commits into
Draft
brandonros wants to merge 10 commits into
brandonros wants to merge 10 commits into
Conversation
brandonros
added this pull request to stack #5
September 14, 2026 02:36
brandonros
removed this pull request from stack #5
September 14, 2026 02:39
brandonros
added this pull request to stack #6
September 14, 2026 02:40
This was referenced Sep 14, 2026
brandonros
removed this pull request from stack #6
September 15, 2026 00:50
brandonros
added this pull request to stack #12
September 15, 2026 00:51
brandonros
removed this pull request from stack #12
September 15, 2026 01:13
brandonros
added this pull request to stack #13
September 15, 2026 01:13
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.
Upstream review: Rust-GPU#408
Upgrade the modern backend to LLVM 21.1.8 and CUDA 13.3, including feature selection, Nix tooling, LLVM downloads, and Linux/Windows CI configuration. Linux validation uses upstream LLVM release prebuilts and compiles the vector-add example.
This is the bottom of stack Rust-GPU#6:
main→experiment/cuda13.3-llvm21→poc/portable-ptx-export. The dependent portable PTX export work is in #4; this PR retains the existing six LLVM upgrade commits unchanged.Validation: branch ancestry verified against the current fork
main. The combined export backend requires fresh Linux CI validation; previous LLVM 19 workload results do not validate LLVM 21.LLVM archive override: the builder accepts
PREBUILT_LLVM_URLwith or without a trailing slash;USE_PREBUILT_LLVM=1forces its download path. Linux CI reads the repository variable of the same name and defaults to the fork's LLVM 21.1.8 release. All three release asset SHA-256 hashes match artifacts downloaded from run 34781677658 at commit 2cf27700bffbab35dff21a58d1e19ca12525ca6f. Archive layout was checked for each host platform. The guide documents the override.Active native stack: #3 → #7 → #8 → #9 → #10. Historical-report PR #11 is closed. Updated CI is pending.