Skip to content

Connect the native cooperative provider to Oxide compilation - #12092

Draft
tpn wants to merge 8 commits into
NVIDIA:mainfrom
tpn:codex/cuda-coop-rust-r03-provider
Draft

tpn wants to merge 8 commits into
NVIDIA:mainfrom
tpn:codex/cuda-coop-rust-r03-provider

Conversation

@tpn

@tpn tpn commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Connects the native cooperative provider to ordinary Oxide compilation through a Cargo build-script adapter. It serves batched LTO-IR specializations, typed ABI and exact scratch layouts, and declares header/toolkit inputs for Cargo freshness tracking. The existing three-crate fixture exercises generic dependency discovery and Direct/Transpose Load/Store.

Depends on #12088 and Oxide #1566. R02 remains an independent sibling. Focused provider-adapter diff. This compatibility update carries the stable workspace toolchain and fixture guidance; adapter and fixture bodies are unchanged. GitHub’s Files changed includes prerequisites while this PR targets main; use the focused diff above.

Host tests, provider MSRV 1.85, strict Clippy/rustdoc, formatting and Rust guide pass. The internal unsafe fixture builds in its original release profile using the matching automatic backend. Qualification uses an evidence copy: four compiler dependencies select the current Git source, with a corresponding locked graph; Rust bodies and the local provider path stay unchanged. The legacy script’s compiler path patches/backend override were not used, and this is not a claim that the unmodified legacy runner passes.

Artifact inspection confirms five roots, sixteen native calls and the expected argument/scratch layouts. Historical binary identity is not claimed. The original 480-case GPU positive and memcheck/racecheck/synccheck pass. Current-head CI is separate.

tpn added 6 commits October 19, 2026 21:39
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>
Install the pinned toolchain without updating rustup itself.

Signed-off-by: Trent Nelson <trent@trent.me>
Serve native specialization batches through the versioned Oxide boundary
and exercise Load and Store through a standalone Cargo consumer with a
generic helper dependency.

Signed-off-by: Trent Nelson <trent@trent.me>
Signed-off-by: Trent Nelson <trent@trent.me>
Signed-off-by: Trent Nelson <trent@trent.me>
@copy-pr-bot

copy-pr-bot Bot commented Oct 20, 2026

Copy link
Copy Markdown
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.

tpn added 2 commits October 23, 2026 08:33
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>
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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant