Repository navigation
Conversation
bmjask
force-pushed
the
stack/061-reuse-cache-buffers
branch
from
November 27, 2026 00:45
fe0430c to
b879a2f
Compare
After validating an unsplit translated-shader cache entry, move its payload to the front of the file buffer and retain that allocation instead of making a second payload-sized copy. Split entries keep the existing copy path so they do not retain all piece bytes. Preserve cache-I/O stall attribution and add ownership, sampler-offset, malformed-entry, and split round-trip coverage. The upstream extracted-loader benchmark reported 27-35% faster 4-16 MiB warm-cache loads with roughly half the incremental heap peak. GNU Windows-target cargo check passed. Windows/MSVC, GPU tests, and retail smoke were not run on this host. Adapted from PR xcl-dev#2594. Assisted-by: OpenAI Codex (gpt-6-astra) Assisted-by: Codex (GPT-5.6-sol) Assisted-by: Codex (GPT-5.6-sol)
bmjask
force-pushed
the
stack/060-used-pipeline-journal
branch
from
November 27, 2026 05:14
2423d24 to
e836c0c
Compare
bmjask
force-pushed
the
stack/061-reuse-cache-buffers
branch
from
November 27, 2026 05:14
b879a2f to
27f1a25
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.
Stacked on #63.
This is an internal draft stack in
bmjask/xcl; it is not an upstream merge request.What and why
This unit isolates shaders: reuse unsplit cache file buffers as one reviewable step in the redesign.
What is in it
fe0430c4is the cleaned-stack form of integrated commitd8333ec4.The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.
Tested
Tests were not rerun while packaging this already-integrated change into the draft stack.
Regression run
Not run during stack packaging.
Not tested
scripts/smoke.ps1main/head comparisonAI use
Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.