gpu(host): avoid temporary submission write-list clones #197
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!197
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/197/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Androtim on GitHub · 2026-11-30 03:52 UTC · original
Androtim:feat/iter194-host-avoid-submission-writes-clone→main· +4 −2 · 1 files · 1 commits · closed without mergingSummary
deferred.writesalongsidedeferred.texture_backsin a single pass overrunsinsideHost::submitinstead of lockinglist.deferred()twice and allocating temporary per-listVecclones.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policycargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --lib host:: -- --test-threads=1cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warningscargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warnings@Androtim on GitHub · 2026-11-30 06:02 UTC · original
Automated triage for the maintainers (not an approval).
Verdict:
needs-work· CI (check):failingReview Summary
The change in
crates/victory-gpu/src/host.rs(Host::submit, late-submission path) is small and logically sound:runsinto a single loop, acquiringlist.deferred()once per list instead of twice.runs.iter().flat_map(|l| l.deferred().writes.clone()).collect()withwrites.extend_from_slice(&deferred.writes), avoiding temporary per-listVecallocations while preserving identical element ordering and lock granularity.However, CI is currently failing, so this PR cannot be marked as a merge candidate yet.
To change the verdict:
main). Once CI is green, this change looks ready as a merge candidate without requiring a local GPU test.Generated with Antigravity CLI (
agy).@Androtim on GitHub · 2026-12-01 01:39 UTC · original
Closing stale/conflicted backlog PR per #276. Superseded by the active root-architecture replacement pillars with isolated plain --release A/B verification.
Pull request closed