Repository navigation
Conversation
Create a host-only Cargo workspace that specializes selected CUB forms through NVRTC and reports exact scratch layouts with their LTO output. Bind specialization identities to source, headers and toolkit bytes. Include a runnable provider example, Rust guide and CPU checks. Signed-off-by: Trent Nelson <trent@trent.me>
Contributor
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Install the pinned toolchain without updating rustup itself. Signed-off-by: Trent Nelson <trent@trent.me>
This was referenced Oct 20, 2026
Keep the owning implementation and tests unchanged while applying its scoped compiler, lock and documentation compatibility updates. Signed-off-by: Trent Nelson <trent@trent.me>
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.
Rust kernel compilation needs CUB specializations whose scratch requirements come from the same native compilation. This adds a host-only Rust provider for i32 Direct and Transpose block Load/Store, returning LTO-IR, stable symbols and exact storage metadata.
The compatibility update selects Rust 1.99.1 for workspace checks while retaining the provider’s Rust 1.85 minimum. The provider implementation and native test cases are unchanged. Focused owning diff.
Host tests, strict Clippy/rustdoc, formatting, the Rust guide and provider MSRV checks pass. All 16 original native specializations pass with deterministic repeated compilation, exact scratch layouts and the existing rejection cases. This host-only provider does not launch GPU kernels.