Repository navigation
Place patches correctly when decoding sliced ALP arrays on the GPU - #11882
Open
vishalkotak wants to merge 1 commit into
Open
vishalkotak wants to merge 1 commit into
vishalkotak wants to merge 1 commit into
Conversation
Signed-off-by: Vishal Kotak <22182951+vishalkotak@users.noreply.github.com>
Contributor
Author
0ax1
self-requested a review
November 23, 2026 23:44
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.
The standalone ALP CUDA kernel decoded patches at the wrong rows when an ALP array's patches start partway into a 1024-row chunk, as they do after ALP's slice kernel or in a file that stores a sliced ALP array. In a
5..1000slice, the outlier from row 5 stayed at row 5 instead of moving to row 0. Lazy slices from scans aren't affected, since dispatch decodes the whole array and slices the output.The kernel now decodes chunk-aligned rows and trims the shift off the front, the same fix #11707 made for ALP-RD. Arrays that start on a chunk boundary keep the existing fast path.
I used Claude Code for analysis, debugging, and ideas.