fix(experimental): scale GPU sort dispatches - #2956
Merged
Merged
Conversation
ibgreen-openai
force-pushed
the
codex/ludf-scaled-sort
branch
from
August 6, 2026 18:44
219d9ef to
a245c7e
Compare
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.
Goals
Remove one-dimensional WebGPU dispatch limits from stable GPU bitonic/radix sorting while preserving the existing public sort and batch-sort APIs.
Changes
GPUScanstage.GPUBatchSortchunk preservation.[2, 2, 2]workgroups for both sorting algorithms.Verification
nvm use— Node 22.22.1.yarn install— enterprise registry blocks the existing alpha development-tool dependency with HTTP 403; reused previously verified ignored dependencies.yarn lint fix— passed after final source changes.yarn build— passed across every package after final formatting.CI=1 yarn test— Node: 549 passed and one skipped; actual Chromium/WebGPU: 1,554 passed and 25 skipped.yarn website:build— passed, including validation of 461 documentation pages.(cd website && yarn build)— passed, including validation of 461 documentation pages.yarn examples:typecheck— passed across all 46 example workspaces.yarn bundle-size— passed all seven existing bundle budgets.Risks and compatibility