Skip to content

[Rust] Add ThreadData and group query foundations - #12091

Draft
tpn wants to merge 11 commits into
NVIDIA:mainfrom
tpn:codex/cuda-coop-rust-r02
Draft

tpn wants to merge 11 commits into
NVIDIA:mainfrom
tpn:codex/cuda-coop-rust-r02

Conversation

@tpn

@tpn tpn commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Adds initialized-slot-aware ThreadData and hierarchy/group queries for Rust cuda.coop. Payload types are inferred from writes, item counts remain const generics, and checked reads expose initialized slots. Group queries preserve block-major ordering and mapped membership.

Builds on #12088; focused owning diff. The compatibility update pins the coordinated compiler source, selects Rust 1.99.1 and documents the workspace’s required unstable-feature configuration. The query lock resolves artifact metadata from that same compiler source. Payload/query implementation and test bodies are unchanged. GitHub’s Files changed includes prerequisites while this PR targets main; use the focused diff above.

The exact locked graph, 26 host tests/doctests, strict Clippy/rustdoc, formatting and Rust guide pass. The unchanged release query consumer builds with the matching automatic backend; inspection confirms its five kernel roots and argument layouts. GPU qualification passes: the original 308,480-value positive, five caught-error cases and memcheck, with positive health replays after each error case. 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 <[email protected]>
Install the pinned toolchain without updating rustup itself.

Signed-off-by: Trent Nelson <[email protected]>
Select fixture output locations from raw CUDA coordinates and exercise
payload initialization, access and copying at both item counts. Annotate
compile-fail examples and clarify hierarchy ordering in the guide.

Signed-off-by: Trent Nelson <[email protected]>
@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.

@github-project-automation github-project-automation Bot moved this to Todo in CCCL Oct 20, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Progress in CCCL Oct 20, 2026
tpn added 3 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 <[email protected]>
Keep the owning implementation and tests unchanged while applying
its scoped compiler, lock and documentation compatibility updates.

Signed-off-by: Trent Nelson <[email protected]>
Resolve artifact metadata from the pinned compiler source.
Keep the owning implementation and dependency versions unchanged.

Signed-off-by: Trent Nelson <[email protected]>

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