Skip to content

Upgrade modern backend to LLVM 21.1.8 and CUDA 13.3 - #3

Draft
brandonros wants to merge 10 commits into
mainfrom
experiment/cuda13.3-llvm21
Draft

brandonros wants to merge 10 commits into
mainfrom
experiment/cuda13.3-llvm21

Conversation

@brandonros

@brandonros brandonros commented Sep 14, 2026

Copy link
Copy Markdown
Owner

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: mainexperiment/cuda13.3-llvm21poc/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_URL with or without a trailing slash; USE_PREBUILT_LLVM=1 forces 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.

@brandonros
brandonros added this pull request to stack #5 September 14, 2026 02:36
@brandonros
brandonros removed this pull request from stack #5 September 14, 2026 02:39
@brandonros brandonros closed this Sep 14, 2026
@brandonros brandonros reopened this Sep 14, 2026
@brandonros
brandonros added this pull request to stack #6 September 14, 2026 02:40
@brandonros brandonros changed the title experiment/cuda13.3 llvm21 Upgrade modern backend to LLVM 21.1.8 and CUDA 13.3 Sep 14, 2026
@brandonros
brandonros removed this pull request from stack #12 September 15, 2026 01:13
@brandonros
brandonros added this pull request to stack #13 September 15, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant