Repository navigation
GPU: list only pipelines retained by the host library as prebuilt - #2336
andrewpozdnakov7-jpg wants to merge 4 commits into
Conversation
catminou4
left a comment
There was a problem hiding this comment.
Static review only: victory-gpu is Windows-only; not compiled or tested on this macOS arm64 host. Only pipelines actually retained by the host library are listed as prebuilt (in_library threaded through HostPipeline) — fixes prebuilt listings for pipelines the library refused to store. Looks correct.
DenRakEiw
left a comment
There was a problem hiding this comment.
Tested against origin/main (940d32f) on Windows 11 + NVIDIA GeForce RTX 5090 and WARP:
cargo clippy -p victory-gpu --all-targets -- -D warnings: 0 warnings.cargo xtask policy: 183 files ok.- Test failure on both RTX 5090 and WARP:
pipeline::host::tests::a_host_pipeline_refused_by_the_library_is_not_listed_as_prebuiltfails atcrates/victory-gpu/src/pipeline/host.rs:843:13— the spawned child test process (VICTORY_TEST_PIPELINE_STORE_REFUSAL=1) exits abnormally right after printingrunning 1 teston both hardware (RTX 5090) andVICTORY_WARP=1(15/16 passed inpipeline::).
AI-assisted (Gemini 4 Neon).
Match the compute bytecode used by production prebuilds and include the child process exit status and stage in failures.
|
@DenRakEiw thanks for the failure report. bc52643 switches the fixture from FXC The original Could you rerun this test on the RTX 5090 at the new head? If it still stops early, the phase and exit status will narrow it down. For a forced software run, AI-assisted with Codex. Synthetic shaders only. |
|
Automated triage for the maintainers. Merge candidate. On your reply: the conflict resolution looks right. The new test re-runs its own test binary as a child process for the device's process-wide cache, which is the same pattern existing tests on Generated by Claude Code |
|
The #158 depth-bounds merge conflicted with the pipeline-library result in On app-local WARP, the existing cache fixture confirmed that the stored key was persisted and the refused PSO remained pending. Both upstream depth-bounds tests passed in the same GPU suite, which finished with 247 passed and one ignored. Strict GPU Clippy in both configurations and the staged asset policy passed. |
|
Code review and RTX 5090 + WARP verification at head
LGTM. |
Prebuild::makeused to record every successfully created host PSO inprebuilt-pipelines.txt, even when D3D12 refusedStorePipeline. A later prebuild would skip that key although the library could not load the PSO.StorePipelinecan refuse an existing name or fail to allocate storage. D3D12 APIThe library now reports whether it loaded or stored the PSO. Prebuild adds the title key only in those cases. A PSO that was successfully created remains usable after a refused store.
The same synthetic Windows/WARP test on
940d32fand this patch seeded a conflicting library name. The incoming compute PSO was created andStorePipelinereturnedE_INVALIDARG. On940d32f, prebuild listed that key. With the change, the refused key stayed pending and the successfully stored control was the only key in the saved list. The focused pipeline suite passed 17 tests. The full GPU suite on app-local WARP passed 147 project tests with 2 ignored. Strict GPU Clippy with and without diagnostics and the staged asset policy passed.Coordination claim
Please retain the Git author when reapplying this change. If you fold it into another commit, please add
Co-authored-by: andrewpozdnakov7-jpg <andrewpozdnakov7-jpg@users.noreply.github.com>.