Skip to content

D3D12.X: evict old compute pipelines under pressure - #302

Draft
bmjask wants to merge 1 commit into
stack/298-retained-pipeline-usefrom
stack/299-pressure-eviction
Draft

bmjask wants to merge 1 commit into
stack/298-retained-pipeline-usefrom
stack/299-pressure-eviction

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #301.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates d3d12.x: evict old compute pipelines under pressure as one reviewable step in the redesign.

What is in it

  • 6dd84ef7 is the rebased logical commit.

Tested

The complete rewritten stack was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, rebased the existing logical commit onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/299-pressure-eviction branch 2 times, most recently from f5df1e9 to bbcb4ed Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/298-retained-pipeline-use branch from 7c80cd1 to d575d92 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/299-pressure-eviction branch 2 times, most recently from 8e4eba5 to 468559e Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/298-retained-pipeline-use branch from 2b0fddb to e40823b Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/299-pressure-eviction branch from 468559e to a56ed98 Compare November 27, 2026 12:44
Add an explicit opt-in pressure policy that detaches at most one old, rebuildable compute pipeline per two-second sample while preserving exact demand restoration. Shadow observation remains nonmutating, and pressure-only sampling avoids enabling unrelated activity probes.

Candidate scans, exact attempts, and successful detaches have independent bounds; native owners retire after all policy and pipeline locks are released.

Windows-GNU debug lib/tests and release all-target checks pass; Windows runtime and GPU tests were not executed on this Linux host.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/298-retained-pipeline-use branch from e40823b to 9eb635d Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/299-pressure-eviction branch from a56ed98 to 873e3ce Compare November 27, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant