[Docs] Add user-guide page for qd.simt.grid.* primitives#641
Draft
hughperkins wants to merge 1 commit intomainfrom
Draft
[Docs] Add user-guide page for qd.simt.grid.* primitives#641hughperkins wants to merge 1 commit intomainfrom
hughperkins wants to merge 1 commit intomainfrom
Conversation
Documents qd.simt.grid.memfence() — currently the sole public op in the qd.simt.grid namespace. Covers semantics (device-scope memory fence, no thread convergence), backend support (CUDA only today), the producer-fence + consumer-fence pattern that decoupled-look-back scans and Onesweep build on, and how to pick between subgroup / block / grid scopes. Also surfaces the asymmetry: there is no qd.simt.grid.sync() (grid-scope barrier) — full thread synchronization across blocks requires a kernel relaunch. Adds grid.md to the SIMT-primitives toctree.
This was referenced May 7, 2026
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.
Summary
New user-guide page
docs/source/user_guide/grid.mddocumenting the grid tier — currently a single op,qd.simt.grid.memfence().Companion to the in-flight subgroup (#639), block (#638), and atomics (#640) docs; this is one of a series of tier-by-tier user-guide pages. Independent — no cross-links to unmerged docs.
Includes:
grid.sync()and what to do instead (kernel relaunch).Adds
gridto the SIMT-primitives toctree inindex.md.Test plan
cd docs && make htmlbuilds without warnings.Made with Cursor